public class MetricsMBeanBase
extends org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected Map<String,org.apache.hadoop.metrics.util.MetricsBase> |
extendedAttributes
HBase MetricsBase implementations that MetricsDynamicMBeanBase does
not understand
|
protected MBeanInfo |
extendedInfo |
protected org.apache.hadoop.metrics.util.MetricsRegistry |
registry |
protected int |
registryLength |
Modifier | Constructor and Description |
---|---|
protected |
MetricsMBeanBase(org.apache.hadoop.metrics.util.MetricsRegistry mr,
String description) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
MBeanInfo |
getMBeanInfo() |
protected void |
init() |
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
protected MetricsMBeanBase(org.apache.hadoop.metrics.util.MetricsRegistry mr, String description)
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
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.