@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(HTableDescriptor 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
IOExceptionpublic static Class<? extends FlushPolicy> getFlushPolicyClass(HTableDescriptor htd, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.