public class ActiveDeletedBlobCollectorMBeanImpl extends java.lang.Object implements ActiveDeletedBlobCollectorMBean
TYPE| Constructor and Description |
|---|
ActiveDeletedBlobCollectorMBeanImpl(@NotNull org.apache.jackrabbit.oak.plugins.index.lucene.directory.ActiveDeletedBlobCollectorFactory.ActiveDeletedBlobCollector activeDeletedBlobCollector,
@NotNull Whiteboard whiteboard,
@NotNull NodeStore store,
@NotNull IndexPathService indexPathService,
@NotNull AsyncIndexInfoService asyncIndexInfoService,
@NotNull GarbageCollectableBlobStore blobStore,
@NotNull java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull javax.management.openmbean.CompositeData |
cancelActiveCollection()
Cancel a running collection of deleted lucene index blobs operation.
|
void |
flagActiveDeletionSafe()
Resets the in-memory flag so that new blobs are not flagged anymore and hence
would get marked for active deletion when active deletion is active.
|
void |
flagActiveDeletionUnsafeForCurrentState()
Flag current blobs (head state) referred by all indexes so that they won't
be marked to be collected by active deletion later.
|
@NotNull javax.management.openmbean.CompositeData |
getActiveCollectionStatus()
Status of collection of deleted lucene index blobs.
|
boolean |
isActiveDeletionUnsafe() |
boolean |
isDisabled()
Whether active deletion is disabled.
|
@NotNull javax.management.openmbean.CompositeData |
startActiveCollection()
Initiate collection operation of deleted lucene index blobs
|
public ActiveDeletedBlobCollectorMBeanImpl(@NotNull
@NotNull org.apache.jackrabbit.oak.plugins.index.lucene.directory.ActiveDeletedBlobCollectorFactory.ActiveDeletedBlobCollector activeDeletedBlobCollector,
@NotNull
@NotNull Whiteboard whiteboard,
@NotNull
@NotNull NodeStore store,
@NotNull
@NotNull IndexPathService indexPathService,
@NotNull
@NotNull AsyncIndexInfoService asyncIndexInfoService,
@NotNull
@NotNull GarbageCollectableBlobStore blobStore,
@NotNull
@NotNull java.util.concurrent.Executor executor)
activeDeletedBlobCollector - deleted index blobs collectorwhiteboard - An instance of Whiteboard. It will be
used to get checkpoing manager mbean.store - NodeStore instance to access repository stateindexPathService - IndexPathService instance to collect indexes available in
the repositoryasyncIndexInfoService - AsyncIndexInfoService instance to acess state of async
indexer lanesblobStore - An instance of GarbageCollectableBlobStore. It will be
used to purge blobs which have been deleted from lucene indexes.executor - executor for running the collection taskpublic boolean isDisabled()
ActiveDeletedBlobCollectorMBeanisDisabled in interface ActiveDeletedBlobCollectorMBean@NotNull public @NotNull javax.management.openmbean.CompositeData startActiveCollection()
ActiveDeletedBlobCollectorMBeanstartActiveCollection in interface ActiveDeletedBlobCollectorMBean@NotNull public @NotNull javax.management.openmbean.CompositeData cancelActiveCollection()
ActiveDeletedBlobCollectorMBeancancelActiveCollection in interface ActiveDeletedBlobCollectorMBean@NotNull public @NotNull javax.management.openmbean.CompositeData getActiveCollectionStatus()
ActiveDeletedBlobCollectorMBeangetActiveCollectionStatus in interface ActiveDeletedBlobCollectorMBeanpublic boolean isActiveDeletionUnsafe()
isActiveDeletionUnsafe in interface ActiveDeletedBlobCollectorMBeanpublic void flagActiveDeletionUnsafeForCurrentState()
ActiveDeletedBlobCollectorMBeanflagActiveDeletionUnsafeForCurrentState in interface ActiveDeletedBlobCollectorMBeanpublic void flagActiveDeletionSafe()
ActiveDeletedBlobCollectorMBeanflagActiveDeletionSafe in interface ActiveDeletedBlobCollectorMBeanCopyright © 2010 - 2023 Adobe. All Rights Reserved