Class CompactionThroughputControllerFactory
java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.CompactionThroughputControllerFactory
@LimitedPrivate("Configuration")
public final class CompactionThroughputControllerFactory
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Class<? extends ThroughputController>
private static final String
private static final String
static final String
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Field Details
-
LOG
-
HBASE_THROUGHPUT_CONTROLLER_KEY
- See Also:
-
DEFAULT_THROUGHPUT_CONTROLLER_CLASS
-
DEPRECATED_NAME_OF_PRESSURE_AWARE_THROUGHPUT_CONTROLLER_CLASS
- See Also:
-
DEPRECATED_NAME_OF_NO_LIMIT_THROUGHPUT_CONTROLLER_CLASS
- See Also:
-
-
Constructor Details
-
CompactionThroughputControllerFactory
private CompactionThroughputControllerFactory()
-
-
Method Details
-
create
public static ThroughputController create(RegionServerServices server, org.apache.hadoop.conf.Configuration conf) -
getThroughputControllerClass
public static Class<? extends ThroughputController> getThroughputControllerClass(org.apache.hadoop.conf.Configuration conf) -
resolveDeprecatedClassName
Resolve deprecated class name to keep backward compatibiliy- Parameters:
oldName
- old name of the class- Returns:
- the new name if there is any
-