@InterfaceAudience.LimitedPrivate(value="Configuration") public class FlushPolicyFactory extends Object
The default flush policy is FlushLargeStoresPolicy
. And for 0.98, the default flush
policy is FlushAllStoresPolicy
.
Modifier and Type | Field and Description |
---|---|
static String |
HBASE_FLUSH_POLICY_KEY |
Constructor and Description |
---|
FlushPolicyFactory() |
Modifier and Type | Method and Description |
---|---|
static FlushPolicy |
create(HRegion region,
org.apache.hadoop.conf.Configuration conf)
Create the FlushPolicy configured for the given table.
|
static Class<? extends FlushPolicy> |
getFlushPolicyClass(TableDescriptor htd,
org.apache.hadoop.conf.Configuration conf)
Get FlushPolicy class for the given table.
|
public static final String HBASE_FLUSH_POLICY_KEY
public static FlushPolicy create(HRegion region, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public static Class<? extends FlushPolicy> getFlushPolicyClass(TableDescriptor htd, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.