public class BlobGC extends 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.
|
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public 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)
BlobGCMBean
startBlobGC
in interface BlobGCMBean
markOnly
- whether to only mark references and not sweep in the mark and sweep operation.public CompositeData startBlobGC(boolean markOnly, boolean forceBlobIdRetrieve)
BlobGCMBean
startBlobGC
in interface BlobGCMBean
markOnly
- 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()
BlobGCMBean
getBlobGCStatus
in interface BlobGCMBean
public CompositeData checkConsistency()
BlobGCMBean
checkConsistency
in interface BlobGCMBean
@NotNull public @NotNull CompositeData getConsistencyCheckStatus()
BlobGCMBean
getConsistencyCheckStatus
in interface BlobGCMBean
public TabularData getGlobalMarkStats()
BlobGCMBean
getGlobalMarkStats
in interface BlobGCMBean
public TabularData getOperationStats()
BlobGCMBean
getOperationStats
in interface BlobGCMBean
Copyright © 2010 - 2020 Adobe. All Rights Reserved