Interface VersionRemovalService
- All Known Implementing Classes:
AbstractVersionRemovalService
,DefaultVersionRemovalService
,FastVersionRemovalService
public interface VersionRemovalService
- Since:
- 7.12
-
Method Summary
Modifier and TypeMethodDescriptionvoid
hardRemoveVersions
(RetentionPolicy policy) Remove all content records which meet the RetentionPolicy Removes all content records which meet theRetentionPolicy
.void
softRemoveVersions
(RetentionPolicy policy, int batchSize) Remove approximately content records which meet the RetentionPolicy Removes versions which meet a givenRetentionPolicy
in batch.
-
Method Details
-
softRemoveVersions
Remove approximately content records which meet the RetentionPolicy Removes versions which meet a givenRetentionPolicy
in batch.- Parameters:
policy
- retention policybatchSize
- number of versions in a batch
-
hardRemoveVersions
Remove all content records which meet the RetentionPolicy Removes all content records which meet theRetentionPolicy
.- Parameters:
policy
- retention policy
-