|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.metrics.util.MetricsDynamicMBeanBase
org.apache.hadoop.hbase.metrics.MetricsMBeanBase
@Deprecated @InterfaceAudience.Private public class MetricsMBeanBase
Extends the Hadoop MetricsDynamicMBeanBase class to provide JMX support for custom HBase MetricsBase implementations. MetricsDynamicMBeanBase ignores registered MetricsBase instance that are not instances of one of the org.apache.hadoop.metrics.util implementations.
Field Summary | |
---|---|
protected String |
description
Deprecated. |
protected Map<String,org.apache.hadoop.metrics.util.MetricsBase> |
extendedAttributes
Deprecated. HBase MetricsBase implementations that MetricsDynamicMBeanBase does not understand |
protected MBeanInfo |
extendedInfo
Deprecated. |
protected org.apache.hadoop.metrics.util.MetricsRegistry |
registry
Deprecated. |
protected int |
registryLength
Deprecated. |
Constructor Summary | |
---|---|
protected |
MetricsMBeanBase(org.apache.hadoop.metrics.util.MetricsRegistry mr,
String description)
Deprecated. |
Method Summary | |
---|---|
Object |
getAttribute(String name)
Deprecated. |
MBeanInfo |
getMBeanInfo()
Deprecated. |
protected void |
init()
Deprecated. |
Methods inherited from class org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase |
---|
getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.hadoop.metrics.util.MetricsRegistry registry
protected final String description
protected int registryLength
protected Map<String,org.apache.hadoop.metrics.util.MetricsBase> extendedAttributes
protected MBeanInfo extendedInfo
Constructor Detail |
---|
protected MetricsMBeanBase(org.apache.hadoop.metrics.util.MetricsRegistry mr, String description)
Method Detail |
---|
protected void init()
public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
getAttribute
in class org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase
AttributeNotFoundException
MBeanException
ReflectionException
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
getMBeanInfo
in class org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |