@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 |
private static org.slf4j.Logger |
LOG |
region
Constructor and Description |
---|
FlushLargeStoresPolicy() |
Modifier and Type | Method and Description |
---|---|
protected void |
setFlushSizeLowerBounds(HRegion region) |
protected boolean |
shouldFlush(HStore store) |
configureForRegion, selectStoresToFlush
private static final org.slf4j.Logger LOG
public 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
public FlushLargeStoresPolicy()
protected void setFlushSizeLowerBounds(HRegion region)
protected boolean shouldFlush(HStore store)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.