Class MemStoreCompactor

java.lang.Object
org.apache.hadoop.hbase.regionserver.MemStoreCompactor

@Private public class MemStoreCompactor extends Object
The ongoing MemStore Compaction manager, dispatches a solo running compaction and interrupts the compaction if requested. The compaction is interrupted and stopped by CompactingMemStore, for example when another compaction needs to be started. Prior to compaction the MemStoreCompactor evaluates the compacting ratio and aborts the compaction if it is not worthy. The MemStoreScanner is used to traverse the compaction pipeline. The MemStoreScanner is included in internal store scanner, where all compaction logic is implemented. Threads safety: It is assumed that the compaction pipeline is immutable, therefore no special synchronization is required.