public class BlobGC extends org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean implements BlobGCMBean
BlobGCMBean based on a BlobGarbageCollector.| Modifier and Type | Field and Description |
|---|---|
static String |
CONSISTENCY_OP_NAME |
static String |
OP_NAME |
| Constructor and Description |
|---|
BlobGC(BlobGarbageCollector blobGarbageCollector,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
CompositeData |
checkConsistency()
Data Store consistency check
|
CompositeData |
getBlobGCStatus()
Data store garbage collection status
|
CompositeData |
getConsistencyCheckStatus()
Consistency check status
|
TabularData |
getGlobalMarkStats()
Show details of the data Store garbage collection process.
|
CompositeData |
startBlobGC(boolean markOnly)
Initiate a data store garbage collection operation.
|
CompositeData |
startBlobGC(boolean markOnly,
boolean forceBlobIdRetrieve)
Initiate a data store garbage collection operation.
|
getDescription, getDescription, getDescription, getDescription, getImpact, getParameterNamecacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic static final String OP_NAME
public static final String CONSISTENCY_OP_NAME
public BlobGC(@Nonnull BlobGarbageCollector blobGarbageCollector, @Nonnull Executor executor)
blobGarbageCollector - Blob garbage collectorexecutor - executor for running the garbage collection task@Nonnull public CompositeData startBlobGC(boolean markOnly)
BlobGCMBeanstartBlobGC in interface BlobGCMBeanmarkOnly - whether to only mark references and not sweep in the mark and sweep operation.public CompositeData startBlobGC(boolean markOnly, boolean forceBlobIdRetrieve)
BlobGCMBeanstartBlobGC in interface BlobGCMBeanmarkOnly - whether to only mark references and not sweep in the mark and sweep operation.forceBlobIdRetrieve - whether to force retrieve blob ids from datastore@Nonnull public CompositeData getBlobGCStatus()
BlobGCMBeangetBlobGCStatus in interface BlobGCMBeanpublic TabularData getGlobalMarkStats()
BlobGCMBeangetGlobalMarkStats in interface BlobGCMBeanpublic CompositeData checkConsistency()
BlobGCMBeancheckConsistency in interface BlobGCMBean@Nonnull public CompositeData getConsistencyCheckStatus()
BlobGCMBeangetConsistencyCheckStatus in interface BlobGCMBeanCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.