@InterfaceAudience.LimitedPrivate(value="Configuration") public abstract 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 |
|---|---|
static long |
DEFAULT_HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN |
protected long |
flushSizeLowerBound |
static String |
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND |
static String |
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN |
region| Constructor and Description |
|---|
FlushLargeStoresPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setFlushSizeLowerBounds(HRegion region) |
protected boolean |
shouldFlush(HStore store) |
configureForRegion, selectStoresToFlushpublic static final String HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND
public static final String HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN
public static final long DEFAULT_HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN
protected long flushSizeLowerBound
Copyright © 2007–2019 Cloudera. All rights reserved.