Class MBeanSourceImpl

java.lang.Object
org.apache.hadoop.hbase.metrics.MBeanSourceImpl
All Implemented Interfaces:
MBeanSource

@Private public class MBeanSourceImpl extends Object implements MBeanSource
Hadoop2 metrics2 implementation of an object that registers MBeans.
  • Constructor Details

  • Method Details

    • register

      public ObjectName register(String serviceName, String metricsName, Object theMbean)
      Register an mbean with the underlying metrics system
      Specified by:
      register in interface MBeanSource
      Parameters:
      serviceName - Metrics service/system name
      metricsName - name of the metrics obejct to expose
      theMbean - the actual MBean
      Returns:
      ObjectName from jmx