Interface CompactionLifeCycleTracker
Used to track compaction execution.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidafterExecution(Store store) Called after compaction is executed by CompactSplitThread.default voidbeforeExecution(Store store) Called before compaction is executed by CompactSplitThread.default voidCalled after all the requested compactions are completed.default voidnotExecuted(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
Storein 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
Storein 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.
-