@InterfaceAudience.LimitedPrivate(value="Configuration") public class FlushLargeStoresPolicy extends FlushPolicy
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 long |
DEFAULT_HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND |
private long |
flushSizeLowerBound |
static String |
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND |
private static org.apache.commons.logging.Log |
LOG |
region| Constructor and Description |
|---|
FlushLargeStoresPolicy() |
| 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<Store> |
selectStoresToFlush() |
private boolean |
shouldFlush(Store store) |
private static final org.apache.commons.logging.Log LOG
public static final String HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND
private static final long DEFAULT_HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND
private long flushSizeLowerBound
protected void configureForRegion(HRegion region)
FlushPolicyconfigureForRegion in class FlushPolicyprivate boolean shouldFlush(Store store)
public Collection<Store> selectStoresToFlush()
selectStoresToFlush in class FlushPolicyCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.