Class FastTrashRemovalManager

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

public class FastTrashRemovalManager extends AbstractTrashRemovalManager
FastTrashRemovalManager is a service that removes trashes based on retention policies.
Since:
9.1.0
  • Field Details

    • FAST_TRASH_REMOVAL_RETENTION_RULES_DARK_FEATURE

      public static final String FAST_TRASH_REMOVAL_RETENTION_RULES_DARK_FEATURE
      See Also:
    • FAST_TRASH_REMOVAL_GLOBAL_TRASH_DELETE_SIZE_PER_JOB

      public static final String FAST_TRASH_REMOVAL_GLOBAL_TRASH_DELETE_SIZE_PER_JOB
      See Also:
    • FAST_TRASH_REMOVAL_SPACE_TRASH_DELETE_SIZE_PER_JOB

      public static final String FAST_TRASH_REMOVAL_SPACE_TRASH_DELETE_SIZE_PER_JOB
      See Also:
  • Constructor Details

  • Method Details

    • globalTrashDeleteSizePerJob

      public static int globalTrashDeleteSizePerJob()
    • spaceTrashDeleteSizePerJob

      public static int spaceTrashDeleteSizePerJob()
    • 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
    • isEnabled

      public boolean isEnabled()
    • info

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

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