Class BasicMemStoreCompactionStrategy
java.lang.Object
org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy
org.apache.hadoop.hbase.regionserver.BasicMemStoreCompactionStrategy
Basic strategy chooses between two actions: flattening a segment or merging indices of all
segments in the pipeline. If number of segments in pipeline exceed the limit defined in
MemStoreCompactionStrategy then apply merge, otherwise flatten some segment.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy
MemStoreCompactionStrategy.Action -
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy
cfName, COMPACTING_MEMSTORE_THRESHOLD_DEFAULT, COMPACTING_MEMSTORE_THRESHOLD_KEY, LOG, pipelineThreshold -
Constructor Summary
ConstructorsConstructorDescriptionBasicMemStoreCompactionStrategy(org.apache.hadoop.conf.Configuration conf, String cfName) -
Method Summary
Modifier and TypeMethodDescriptiongetAction(VersionedSegmentsList versionedList) protected StringgetName()Methods inherited from class org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy
compact, getFlattenAction, getMergingAction, resetStats, simpleMergeOrFlatten, toString, updateStats
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
BasicMemStoreCompactionStrategy
-
-
Method Details
-
getAction
- Specified by:
getActionin classMemStoreCompactionStrategy
-
getName
- Specified by:
getNamein classMemStoreCompactionStrategy
-