@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_MIN
region
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) |
setFlushSizeLowerBounds
private static final org.slf4j.Logger LOG
public FlushAllLargeStoresPolicy()
protected void configureForRegion(HRegion region)
FlushPolicy
configureForRegion
in class FlushPolicy
public Collection<HStore> selectStoresToFlush()
selectStoresToFlush
in class FlushPolicy
protected boolean shouldFlush(HStore store)
shouldFlush
in class FlushLargeStoresPolicy
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.