Package org.apache.hadoop.hbase.metrics
Class MBeanSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.MBeanSourceImpl
- All Implemented Interfaces:
MBeanSource
Hadoop2 metrics2 implementation of an object that registers MBeans.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRegister an mbean with the underlying metrics system
-
Constructor Details
-
MBeanSourceImpl
public MBeanSourceImpl()
-
-
Method Details
-
register
Register an mbean with the underlying metrics system- Specified by:
register
in interfaceMBeanSource
- Parameters:
serviceName
- Metrics service/system namemetricsName
- name of the metrics obejct to exposetheMbean
- the actual MBean- Returns:
- ObjectName from jmx
-