Package org.apache.hadoop.hbase.ipc
Class MetricsHBaseServerSourceFactory
java.lang.Object
org.apache.hadoop.hbase.ipc.MetricsHBaseServerSourceFactory
- Direct Known Subclasses:
MetricsHBaseServerSourceFactoryImpl
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) abstract MetricsHBaseServerSource
create
(String serverName, MetricsHBaseServerWrapper wrapper) protected static String
createContextName
(String serverName) From the name of the class that's starting up create the context that an IPC source should register itself.
-
Field Details
-
METRICS_NAME
The name of the metrics- See Also:
-
METRICS_DESCRIPTION
Description- See Also:
-
METRICS_JMX_CONTEXT_SUFFIX
The Suffix of the JMX Context that a MetricsHBaseServerSource will register under. JMX_CONTEXT will be created by createContextName(serverClassName) + METRICS_JMX_CONTEXT_SUFFIX- See Also:
-
-
Constructor Details
-
MetricsHBaseServerSourceFactory
public MetricsHBaseServerSourceFactory()
-
-
Method Details
-
create
-
createContextName
From the name of the class that's starting up create the context that an IPC source should register itself.- Parameters:
serverName
- The name of the class that's starting up.- Returns:
- The Camel Cased context name.
-