Class BlobGC
java.lang.Object
javax.management.StandardMBean
org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
org.apache.jackrabbit.oak.plugins.blob.BlobGC
- All Implemented Interfaces:
DynamicMBean
,MBeanRegistration
,BlobGCMBean
@Deprecated(since="2024-09-23")
public class BlobGC
extends AnnotatedStandardMBean
implements BlobGCMBean
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.
Default implementation of
BlobGCMBean
based on a BlobGarbageCollector
.-
Field Summary
FieldsFields inherited from interface org.apache.jackrabbit.oak.plugins.blob.BlobGCMBean
TYPE
-
Constructor Summary
ConstructorsConstructorDescriptionBlobGC
(@NotNull BlobGarbageCollector blobGarbageCollector, @NotNull Executor executor) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Data Store consistency check@NotNull CompositeData
Deprecated.Data store garbage collection status@NotNull CompositeData
Deprecated.Consistency check statusDeprecated.Show details of the data Store garbage collection process.Deprecated.Show details of the data Store garbage collection invocations.@NotNull CompositeData
startBlobGC
(boolean markOnly) Deprecated.Initiate a data store garbage collection operation.startBlobGC
(boolean markOnly, boolean forceBlobIdRetrieve) Deprecated.Initiate a data store garbage collection operation.Methods inherited from class javax.management.StandardMBean
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
Field Details
-
OP_NAME
Deprecated.- See Also:
-
CONSISTENCY_OP_NAME
Deprecated.- See Also:
-
-
Constructor Details
-
BlobGC
public BlobGC(@NotNull @NotNull BlobGarbageCollector blobGarbageCollector, @NotNull @NotNull Executor executor) Deprecated.- Parameters:
blobGarbageCollector
- Blob garbage collectorexecutor
- executor for running the garbage collection task
-
-
Method Details
-
startBlobGC
Deprecated.Description copied from interface:BlobGCMBean
Initiate a data store garbage collection operation.- Specified by:
startBlobGC
in interfaceBlobGCMBean
- Parameters:
markOnly
- whether to only mark references and not sweep in the mark and sweep operation.- Returns:
- the status of the operation right after it was initiated
-
startBlobGC
Deprecated.Description copied from interface:BlobGCMBean
Initiate a data store garbage collection operation.- Specified by:
startBlobGC
in interfaceBlobGCMBean
- Parameters:
markOnly
- whether to only mark references and not sweep in the mark and sweep operation.forceBlobIdRetrieve
- whether to force retrieve blob ids from datastore- Returns:
- the status of the operation right after it was initiated
-
getBlobGCStatus
Deprecated.Description copied from interface:BlobGCMBean
Data store garbage collection status- Specified by:
getBlobGCStatus
in interfaceBlobGCMBean
- Returns:
- the status of the ongoing operation or if none the terminal status of the last operation or Status not available if none.
-
checkConsistency
Deprecated.Description copied from interface:BlobGCMBean
Data Store consistency check- Specified by:
checkConsistency
in interfaceBlobGCMBean
- Returns:
- the missing blobs
-
getConsistencyCheckStatus
Deprecated.Description copied from interface:BlobGCMBean
Consistency check status- Specified by:
getConsistencyCheckStatus
in interfaceBlobGCMBean
- Returns:
- the status of the ongoing operation or if none the terminal status of the last operation or Status not available if none.
-
getGlobalMarkStats
Deprecated.Description copied from interface:BlobGCMBean
Show details of the data Store garbage collection process.- Specified by:
getGlobalMarkStats
in interfaceBlobGCMBean
- Returns:
- List of available repositories and their status
-
getOperationStats
Deprecated.Description copied from interface:BlobGCMBean
Show details of the data Store garbage collection invocations.- Specified by:
getOperationStats
in interfaceBlobGCMBean
- Returns:
- Data about all the previous gc invocations
-