Interface CompactionLifeCycleTracker
Used to track compaction execution.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
afterExecution
(Store store) Called after compaction is executed by CompactSplitThread.default void
beforeExecution
(Store store) Called before compaction is executed by CompactSplitThread.default void
Called after all the requested compactions are completed.default void
notExecuted
(Store store, String reason) Called if the compaction request is failed for some reason.
-
Field Details
-
DUMMY
-
-
Method Details
-
notExecuted
Called if the compaction request is failed for some reason. -
beforeExecution
Called before compaction is executed by CompactSplitThread.Requesting compaction on a region can lead to multiple compactions on different stores, so we will pass the
Store
in to tell you the store we operate on. -
afterExecution
Called after compaction is executed by CompactSplitThread.Requesting compaction on a region can lead to multiple compactions on different stores, so we will pass the
Store
in to tell you the store we operate on. -
completed
Called after all the requested compactions are completed.The compaction scheduling is per Store so if you request a compaction on a region it may lead to multiple compactions.
-