@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public class RegionMergeTransactionFactory extends Object implements org.apache.hadoop.conf.Configurable
RegionMergeTransactionImpl
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
static String |
MERGE_TRANSACTION_IMPL_KEY |
Constructor and Description |
---|
RegionMergeTransactionFactory(org.apache.hadoop.conf.Configuration conf) |
public static final String MERGE_TRANSACTION_IMPL_KEY
private org.apache.hadoop.conf.Configuration conf
public RegionMergeTransactionFactory(org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public RegionMergeTransactionImpl create(Region a, Region b, boolean forcible)
a
- region a to mergeb
- region b to mergeforcible
- if false, we will only merge adjacent regionsCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.