Class FlushLargeStoresPolicy
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.regionserver.FlushPolicy
org.apache.hadoop.hbase.regionserver.FlushLargeStoresPolicy
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Direct Known Subclasses:
FlushAllLargeStoresPolicy,FlushNonSloppyStoresFirstPolicy
A
FlushPolicy that only flushes store larger a given threshold. If no store is large
enough, then all stores will be flushed.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longprotected longstatic final Stringstatic final Stringprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.regionserver.FlushPolicy
region -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetFlushSizeLowerBounds(HRegion region) protected booleanshouldFlush(HStore store) toString()Methods inherited from class org.apache.hadoop.hbase.regionserver.FlushPolicy
configureForRegion, selectStoresToFlushMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Field Details
-
LOG
-
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND
- See Also:
-
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN
- See Also:
-
DEFAULT_HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN
- See Also:
-
flushSizeLowerBound
-
-
Constructor Details
-
FlushLargeStoresPolicy
public FlushLargeStoresPolicy()
-
-
Method Details