@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.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
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–2019 Cloudera. All rights reserved.