@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 String |
HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND |
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.
|
Collection<Store> |
selectStoresToFlush() |
public static final String HREGION_COLUMNFAMILY_FLUSH_SIZE_LOWER_BOUND
protected void configureForRegion(HRegion region)
FlushPolicy
configureForRegion
in class FlushPolicy
public Collection<Store> selectStoresToFlush()
selectStoresToFlush
in class FlushPolicy
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.