public interface BlobGarbageCollector
| Modifier and Type | Method and Description |
|---|---|
long |
checkConsistency()
Checks for consistency in the blob store and reporting the number of missing blobs.
|
void |
collectGarbage(boolean markOnly)
Marks garbage blobs from the passed node store instance.
|
void |
collectGarbage(boolean markOnly,
boolean forceBlobRetrieve)
Marks garbage blobs from the passed node store instance.
|
List<GarbageCollectionRepoStats> |
getStats()
Retuns the list of stats
|
void collectGarbage(boolean markOnly)
throws Exception
markOnly - whether to only mark references and not sweep in the mark and sweep operation.Exception - the exceptionvoid collectGarbage(boolean markOnly,
boolean forceBlobRetrieve)
throws Exception
markOnly - whether to only mark references and not sweep in the mark and sweep operation.forceBlobRetrieve - whether to force retrieve of blob ids from datastoreExceptionList<GarbageCollectionRepoStats> getStats() throws Exception
ExceptionCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.