Class CrowdDeletedEntityCleanupServiceImpl
java.lang.Object
com.atlassian.bamboo.user.cleanup.CrowdDeletedEntityCleanupServiceImpl
- All Implemented Interfaces:
CrowdDeletedEntityCleanupService
public class CrowdDeletedEntityCleanupServiceImpl
extends Object
implements CrowdDeletedEntityCleanupService
-
Constructor Summary
ConstructorDescriptionCrowdDeletedEntityCleanupServiceImpl
(BambooUserManager bambooUserManager, CrowdDeletedEntityDao crowdDeletedEntityDao) -
Method Summary
Modifier and TypeMethodDescriptionboolean
runCleanup
(@NotNull Date timeoutThreshold, int batchSize) Run the cleanup of Crowd deleted entities.
-
Constructor Details
-
CrowdDeletedEntityCleanupServiceImpl
@Inject public CrowdDeletedEntityCleanupServiceImpl(BambooUserManager bambooUserManager, CrowdDeletedEntityDao crowdDeletedEntityDao)
-
-
Method Details
-
runCleanup
Description copied from interface:CrowdDeletedEntityCleanupService
Run the cleanup of Crowd deleted entities.- Specified by:
runCleanup
in interfaceCrowdDeletedEntityCleanupService
- Parameters:
timeoutThreshold
- cleanup after entities deleted before this datebatchSize
- maximum number of entities to process- Returns:
- true if any entity got processed and next batch can be cleaned up, false otherwise
-