org.apache.hadoop.hbase.metrics
Class MBeanSourceImpl
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanSourceImpl
public MBeanSourceImpl()
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 namemetricsName
- name of the metrics obejct to exposetheMbean
- the actual MBean
- Returns:
- ObjectName from jmx
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.