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
Modifier and TypeFieldDescriptionstatic final long
protected long
static final String
static final String
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.regionserver.FlushPolicy
region
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
setFlushSizeLowerBounds
(HRegion region) protected boolean
shouldFlush
(HStore store) toString()
Methods inherited from class org.apache.hadoop.hbase.regionserver.FlushPolicy
configureForRegion, selectStoresToFlush
Methods 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