Interface VersionRemovalService

All Known Implementing Classes:
AbstractVersionRemovalService, DefaultVersionRemovalService, FastVersionRemovalService

public interface VersionRemovalService
Since:
7.12
  • Method Details

    • softRemoveVersions

      void softRemoveVersions(RetentionPolicy policy, int batchSize)
      Remove approximately content records which meet the RetentionPolicy Removes versions which meet a given RetentionPolicy in batch.
      Parameters:
      policy - retention policy
      batchSize - number of versions in a batch
    • hardRemoveVersions

      void hardRemoveVersions(RetentionPolicy policy)
      Remove all content records which meet the RetentionPolicy Removes all content records which meet the RetentionPolicy.
      Parameters:
      policy - retention policy