Interface BlobGarbageCollector

All Known Implementing Classes:
MarkSweepGarbageCollector

@Deprecated(since="2024-09-23") public interface BlobGarbageCollector
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Interface for blob garbage collector
  • Method Details

    • collectGarbage

      void collectGarbage(boolean markOnly) throws Exception
      Deprecated.
      Marks garbage blobs from the passed node store instance. Collects them only if markOnly is false.
      Parameters:
      markOnly - whether to only mark references and not sweep in the mark and sweep operation.
      Throws:
      Exception - the exception
    • collectGarbage

      void collectGarbage(boolean markOnly, boolean forceBlobRetrieve) throws Exception
      Deprecated.
      Marks garbage blobs from the passed node store instance. Collects them only if markOnly is false. Also forces retrieval of blob ids from the blob store rather than using any local tracking.
      Parameters:
      markOnly - whether to only mark references and not sweep in the mark and sweep operation.
      forceBlobRetrieve - whether to force retrieve of blob ids from datastore
      Throws:
      Exception
    • getStats

      Deprecated.
      Retuns the list of stats
      Returns:
      stats
      Throws:
      Exception
    • checkConsistency

      long checkConsistency() throws Exception
      Deprecated.
      Checks for consistency in the blob store and reporting the number of missing blobs.
      Returns:
      number of inconsistencies
      Throws:
      Exception
    • checkConsistency

      long checkConsistency(boolean markOnly) throws Exception
      Deprecated.
      Collects the blob references and consolidates references from other repositories if available in the DataStore. Adds relevant metrics.
      Returns:
      Throws:
      Exception
    • getOperationStats

      OperationsStatsMBean getOperationStats() throws Exception
      Deprecated.
      Returns operation statistics
      Returns:
      stats object
      Throws:
      Exception
    • getConsistencyOperationStats

      OperationsStatsMBean getConsistencyOperationStats()
      Deprecated.
      Returns consistency operation statistics
      Returns:
      stats object