Package org.apache.hadoop.hbase.thrift
Class MetricsThriftServerSourceFactoryImpl
java.lang.Object
org.apache.hadoop.hbase.thrift.MetricsThriftServerSourceFactoryImpl
- All Implemented Interfaces:
MetricsThriftServerSourceFactory
@Private
public class MetricsThriftServerSourceFactoryImpl
extends Object
implements MetricsThriftServerSourceFactory
Class used to create metrics sources for Thrift and Thrift2 servers.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static enum
A singleton used to make sure that only one thrift metrics source per server type is ever created. -
Field Summary
Fields inherited from interface org.apache.hadoop.hbase.thrift.MetricsThriftServerSourceFactory
METRICS_DESCRIPTION, METRICS_NAME, THRIFT_ONE_JMX_CONTEXT, THRIFT_ONE_METRICS_CONTEXT, THRIFT_TWO_JMX_CONTEXT, THRIFT_TWO_METRICS_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a Source for a thrift one serverCreate a Source for a thrift two server
-
Constructor Details
-
MetricsThriftServerSourceFactoryImpl
public MetricsThriftServerSourceFactoryImpl()
-
-
Method Details
-
createThriftOneSource
Description copied from interface:MetricsThriftServerSourceFactory
Create a Source for a thrift one server- Specified by:
createThriftOneSource
in interfaceMetricsThriftServerSourceFactory
-
createThriftTwoSource
Description copied from interface:MetricsThriftServerSourceFactory
Create a Source for a thrift two server- Specified by:
createThriftTwoSource
in interfaceMetricsThriftServerSourceFactory
-