@InterfaceAudience.LimitedPrivate(value="Configuration") public 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 java.lang.String |
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND |
static java.lang.String |
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN |
region| Constructor and Description |
|---|
FlushLargeStoresPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region to be governed.
|
java.util.Collection<Store> |
selectStoresToFlush() |
public static final java.lang.String HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND
public static final java.lang.String HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND_MIN
protected void configureForRegion(HRegion region)
FlushPolicyconfigureForRegion in class FlushPolicypublic java.util.Collection<Store> selectStoresToFlush()
selectStoresToFlush in class FlushPolicy