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 |
TYPE| Constructor and Description |
|---|
BlobGC(@NotNull BlobGarbageCollector blobGarbageCollector,
@NotNull Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
CompositeData |
checkConsistency()
Data Store consistency check
|
@NotNull CompositeData |
getBlobGCStatus()
Data store garbage collection status
|
@NotNull CompositeData |
getConsistencyCheckStatus()
Consistency check status
|
TabularData |
getGlobalMarkStats()
Show details of the data Store garbage collection process.
|
TabularData |
getOperationStats()
Show details of the data Store garbage collection invocations.
|
@NotNull 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(@NotNull
@NotNull BlobGarbageCollector blobGarbageCollector,
@NotNull
@NotNull Executor executor)
blobGarbageCollector - Blob garbage collectorexecutor - executor for running the garbage collection task@NotNull public @NotNull 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@NotNull public @NotNull CompositeData getBlobGCStatus()
BlobGCMBeangetBlobGCStatus in interface BlobGCMBeanpublic CompositeData checkConsistency()
BlobGCMBeancheckConsistency in interface BlobGCMBean@NotNull public @NotNull CompositeData getConsistencyCheckStatus()
BlobGCMBeangetConsistencyCheckStatus in interface BlobGCMBeanpublic TabularData getGlobalMarkStats()
BlobGCMBeangetGlobalMarkStats in interface BlobGCMBeanpublic TabularData getOperationStats()
BlobGCMBeangetOperationStats in interface BlobGCMBeanCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.