@InterfaceAudience.LimitedPrivate(value="Configuration") public class FlushNonSloppyStoresFirstPolicy extends FlushLargeStoresPolicy
FlushPolicy that only flushes store larger than a given threshold. If no store is large
enough, then all stores will be flushed.
Gives priority to selecting regular stores first, and only if no other
option, selects sloppy stores which normaly require more memory.DEFAULT_HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN, flushSizeLowerBound, HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND, HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MINregion| 构造器和说明 |
|---|
FlushNonSloppyStoresFirstPolicy() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region to be governed.
|
Collection<HStore> |
selectStoresToFlush() |
setFlushSizeLowerBounds, shouldFlushpublic Collection<HStore> selectStoresToFlush()
selectStoresToFlush 在类中 FlushPolicyprotected void configureForRegion(HRegion region)
FlushPolicyconfigureForRegion 在类中 FlushPolicyCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.