Class DefaultTrashRemovalManager

java.lang.Object
com.atlassian.confluence.impl.retention.manager.AbstractTrashRemovalManager
com.atlassian.confluence.impl.retention.manager.DefaultTrashRemovalManager
All Implemented Interfaces:
TrashRemovalManager

public class DefaultTrashRemovalManager extends AbstractTrashRemovalManager
Since:
7.14.0
  • Field Details

    • DEFAULT_TRASH_REMOVAL_SOFT_CLUSTER_LOCK_NAME

      public static final String DEFAULT_TRASH_REMOVAL_SOFT_CLUSTER_LOCK_NAME
      See Also:
    • DEFAULT_TRASH_REMOVAL_HARD_CLUSTER_LOCK_NAME

      public static final String DEFAULT_TRASH_REMOVAL_HARD_CLUSTER_LOCK_NAME
      See Also:
  • Constructor Details

  • Method Details

    • hardRemove

      public void hardRemove()
      Description copied from interface: TrashRemovalManager
      Delete all trashed entities per trash retention rules Note: This may take a long time depend on number of trashed entities that fail retention rules
    • softRemove

      public void softRemove(int limit)
      Description copied from interface: TrashRemovalManager
      Delete up to batchSize trashed entities per trash retention rules
      Parameters:
      limit - maximum number of trashed entities to delete in this run