@InterfaceAudience.LimitedPrivate(value="Configuration") public final class CompactionThroughputControllerFactory extends Object
Modifier and Type | Field and Description |
---|---|
private static Class<? extends ThroughputController> |
DEFAULT_THROUGHPUT_CONTROLLER_CLASS |
private static String |
DEPRECATED_NAME_OF_NO_LIMIT_THROUGHPUT_CONTROLLER_CLASS |
private static String |
DEPRECATED_NAME_OF_PRESSURE_AWARE_THROUGHPUT_CONTROLLER_CLASS |
static String |
HBASE_THROUGHPUT_CONTROLLER_KEY |
private static org.slf4j.Logger |
LOG |
Modifier | Constructor and Description |
---|---|
private |
CompactionThroughputControllerFactory() |
Modifier and Type | Method and Description |
---|---|
static ThroughputController |
create(RegionServerServices server,
org.apache.hadoop.conf.Configuration conf) |
static Class<? extends ThroughputController> |
getThroughputControllerClass(org.apache.hadoop.conf.Configuration conf) |
private static String |
resolveDeprecatedClassName(String oldName)
Resolve deprecated class name to keep backward compatibiliy
|
private static final org.slf4j.Logger LOG
public static final String HBASE_THROUGHPUT_CONTROLLER_KEY
private static final Class<? extends ThroughputController> DEFAULT_THROUGHPUT_CONTROLLER_CLASS
private static final String DEPRECATED_NAME_OF_PRESSURE_AWARE_THROUGHPUT_CONTROLLER_CLASS
private static final String DEPRECATED_NAME_OF_NO_LIMIT_THROUGHPUT_CONTROLLER_CLASS
private CompactionThroughputControllerFactory()
public static ThroughputController create(RegionServerServices server, org.apache.hadoop.conf.Configuration conf)
public static Class<? extends ThroughputController> getThroughputControllerClass(org.apache.hadoop.conf.Configuration conf)
private static String resolveDeprecatedClassName(String oldName)
oldName
- old name of the classCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.