Class CrowdDeletedEntityCleanupServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.user.cleanup.CrowdDeletedEntityCleanupServiceImpl
-
- All Implemented Interfaces:
CrowdDeletedEntityCleanupService
public class CrowdDeletedEntityCleanupServiceImpl extends Object implements CrowdDeletedEntityCleanupService
-
-
Constructor Summary
Constructors Constructor Description CrowdDeletedEntityCleanupServiceImpl(BambooUserManager bambooUserManager, CrowdDeletedEntityDao crowdDeletedEntityDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
runCleanup(@NotNull Date timeoutThreshold, int batchSize)
Run the cleanup of Crowd deleted entities.
-
-
-
Constructor Detail
-
CrowdDeletedEntityCleanupServiceImpl
@Inject public CrowdDeletedEntityCleanupServiceImpl(BambooUserManager bambooUserManager, CrowdDeletedEntityDao crowdDeletedEntityDao)
-
-
Method Detail
-
runCleanup
public boolean runCleanup(@NotNull @NotNull Date timeoutThreshold, int batchSize)
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
-
-