Interface ActiveDeletedBlobCollectorMBean
- All Known Implementing Classes:
ActiveDeletedBlobCollectorMBeanImpl
public interface ActiveDeletedBlobCollectorMBean
MBean for starting and monitoring the progress of
collection of deleted lucene index blobs.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull CompositeDataCancel a running collection of deleted lucene index blobs operation.voidResets 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.voidFlag current blobs (head state) referred by all indexes so that they won't be marked to be collected by active deletion later.@NotNull CompositeDataStatus of collection of deleted lucene index blobs.@org.jetbrains.annotations.NotNull booleanbooleanWhether active deletion is disabled.@NotNull CompositeDataInitiate collection operation of deleted lucene index blobs
-
Field Details
-
TYPE
- See Also:
-
-
Method Details
-
startActiveCollection
Initiate collection operation of deleted lucene index blobs- Returns:
- the status of the operation right after it was initiated
-
cancelActiveCollection
Cancel a running collection of deleted lucene index blobs operation. Does nothing if collection is not running.- Returns:
- the status of the operation right after it was initiated
-
getActiveCollectionStatus
Status of collection of deleted lucene index blobs.- Returns:
- the status of the ongoing operation or if none the terminal status of the last operation or Status not available if none.
-
isActiveDeletionUnsafe
@NotNull @org.jetbrains.annotations.NotNull boolean isActiveDeletionUnsafe()- Returns:
- true: if recording deleted blob for active deletion is unsafe; false: otherwise
-
flagActiveDeletionUnsafeForCurrentState
@NotNull 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. It would also set an in-memory flag so that new blobs also are flagged to be not marked for deletion by active deletion -
flagActiveDeletionSafe
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. -
isDisabled
boolean isDisabled()Whether active deletion is disabled.- Returns:
- true if disabled
-