@InterfaceAudience.LimitedPrivate(value="Configuration") public class FlushAllLargeStoresPolicy extends FlushLargeStoresPolicy
FlushPolicy that only flushes store larger a given threshold. If no store is large
enough, then all stores will be flushed.| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
DEFAULT_HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN, flushSizeLowerBound, HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND, HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MINregion| Constructor and Description |
|---|
FlushAllLargeStoresPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region to be governed.
|
Collection<HStore> |
selectStoresToFlush() |
protected boolean |
shouldFlush(HStore store) |
setFlushSizeLowerBoundsprivate static final org.slf4j.Logger LOG
public FlushAllLargeStoresPolicy()
protected void configureForRegion(HRegion region)
FlushPolicyconfigureForRegion in class FlushPolicypublic Collection<HStore> selectStoresToFlush()
selectStoresToFlush in class FlushPolicyprotected boolean shouldFlush(HStore store)
shouldFlush in class FlushLargeStoresPolicyCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.