Class DefaultTrashRemovalManager

    • Method Detail

      • softRemove

        public void softRemove​(int limit)
        Description copied from interface: TrashRemovalManager
        Delete up to batchSize trashed entities per trash retention rules
        Specified by:
        softRemove in interface TrashRemovalManager
        Parameters:
        limit - maximum number of trashed entities to delete in this run
      • 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
        Specified by:
        hardRemove in interface TrashRemovalManager