public class CleanupServiceImpl extends Object implements CleanupService<TimeBasedCleanupPolicy>
CleanupService.CleanupResult
Modifier | Constructor and Description |
---|---|
protected |
CleanupServiceImpl(Set<Cleanable> cleanables)
Constructor for testing purposes.
|
Modifier and Type | Method and Description |
---|---|
CleanupService.CleanupResult |
cleanup(TimeBasedCleanupPolicy cleanupPolicy)
Triggers the cleanup process on the registered DAOs.
|
public CleanupService.CleanupResult cleanup(TimeBasedCleanupPolicy cleanupPolicy)
cleanup
in interface CleanupService<TimeBasedCleanupPolicy>
cleanupPolicy
- the policy based on which the cleanup is doneCopyright © 2022 Apache Software Foundation. All rights reserved.