Interface BlobGarbageCollector
- All Known Implementing Classes:
MarkSweepGarbageCollector
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 Summary
Modifier and TypeMethodDescriptionlong
Deprecated.Checks for consistency in the blob store and reporting the number of missing blobs.long
checkConsistency
(boolean markOnly) Deprecated.Collects the blob references and consolidates references from other repositories if available in the DataStore.void
collectGarbage
(boolean markOnly) Deprecated.Marks garbage blobs from the passed node store instance.void
collectGarbage
(boolean markOnly, boolean forceBlobRetrieve) Deprecated.Marks garbage blobs from the passed node store instance.Deprecated.Returns consistency operation statisticsDeprecated.Returns operation statisticsgetStats()
Deprecated.Retuns the list of stats
-
Method Details
-
collectGarbage
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
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
Deprecated.Checks for consistency in the blob store and reporting the number of missing blobs.- Returns:
- number of inconsistencies
- Throws:
Exception
-
checkConsistency
Deprecated.Collects the blob references and consolidates references from other repositories if available in the DataStore. Adds relevant metrics.- Returns:
- Throws:
Exception
-
getOperationStats
Deprecated.Returns operation statistics- Returns:
- stats object
- Throws:
Exception
-
getConsistencyOperationStats
OperationsStatsMBean getConsistencyOperationStats()Deprecated.Returns consistency operation statistics- Returns:
- stats object
-