org.apache.hadoop.hbase.metrics
Class MBeanSourceImpl

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

public class MBeanSourceImpl
extends Object
implements MBeanSource

Hadoop1 metrics2 implementation of an object that registers MBeans.


Constructor Summary
MBeanSourceImpl()
           
 
Method Summary
 ObjectName register(String serviceName, String metricsName, Object theMbean)
          Register an mbean with the underlying metrics system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanSourceImpl

public MBeanSourceImpl()
Method Detail

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.