Class FastVersionRemovalService

java.lang.Object
com.atlassian.confluence.impl.retention.AbstractVersionRemovalService
com.atlassian.confluence.impl.retention.fast.FastVersionRemovalService
All Implemented Interfaces:
VersionRemovalService

public class FastVersionRemovalService extends AbstractVersionRemovalService
Fast version removal service for removing versions based on retention policies.
Since:
9.1.0
  • Field Details

    • FAST_VERSION_REMOVAL_DARK_FEATURE

      public static final String FAST_VERSION_REMOVAL_DARK_FEATURE
      See Also:
    • FAST_VERSION_REMOVAL_SQL_SELECT_LIMIT

      public static final String FAST_VERSION_REMOVAL_SQL_SELECT_LIMIT
      See Also:
    • FAST_VERSION_REMOVAL_GLOBAL_ORIGINAL_PAGE_SIZE_PER_JOB

      public static final String FAST_VERSION_REMOVAL_GLOBAL_ORIGINAL_PAGE_SIZE_PER_JOB
      See Also:
    • FAST_VERSION_REMOVAL_SPACE_ORIGINAL_PAGE_SIZE_PER_JOB

      public static final String FAST_VERSION_REMOVAL_SPACE_ORIGINAL_PAGE_SIZE_PER_JOB
      See Also:
  • Constructor Details

  • Method Details

    • isEnabled

      public boolean isEnabled()
    • sqlSelectLimit

      public static int sqlSelectLimit()
    • globalOriginalPageSizePerJob

      public static int globalOriginalPageSizePerJob()
    • spaceOriginalPageSizePerJob

      public static int spaceOriginalPageSizePerJob()
    • hardRemoveVersions

      public void hardRemoveVersions(RetentionPolicy policy)
      Description copied from interface: VersionRemovalService
      Remove all content records which meet the RetentionPolicy Removes all content records which meet the RetentionPolicy.
      Parameters:
      policy - retention policy
    • softRemoveVersions

      public void softRemoveVersions(RetentionPolicy policy, int batchSize)
      Description copied from interface: VersionRemovalService
      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
    • info

      public void info(String format, Object... arguments)
    • debug

      public void debug(String format, Object... arguments)