public static class TestCompaction.TrackableCompactionRequest extends CompactionRequest
CompactionRequest
on which you can wait until the requested compaction finishes.Constructor and Description |
---|
TrackableCompactionRequest(CountDownLatch finished)
Constructor for a custom compaction.
|
Modifier and Type | Method and Description |
---|---|
void |
afterExecute()
Called after compaction is executed by CompactSplitThread; for use by coproc subclasses.
|
beforeExecute, combineWith, compareTo, equals, getFiles, getPriority, getSelectionTime, getSize, isAllFiles, isMajor, isOffPeak, setDescription, setIsMajor, setOffPeak, setPriority, toString
public TrackableCompactionRequest(CountDownLatch finished)
public void afterExecute()
CompactionRequest
afterExecute
in class CompactionRequest