org.apache.hadoop.hbase.metrics
Class MetricsMBeanBase

java.lang.Object
  extended by org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase
      extended by org.apache.hadoop.hbase.metrics.MetricsMBeanBase
All Implemented Interfaces:
DynamicMBean

Deprecated.

@Deprecated
@InterfaceAudience.Private
public class MetricsMBeanBase
extends org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase

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

registry

protected final org.apache.hadoop.metrics.util.MetricsRegistry registry
Deprecated. 

description

protected final String description
Deprecated. 

registryLength

protected int registryLength
Deprecated. 

extendedAttributes

protected Map<String,org.apache.hadoop.metrics.util.MetricsBase> extendedAttributes
Deprecated. 
HBase MetricsBase implementations that MetricsDynamicMBeanBase does not understand


extendedInfo

protected MBeanInfo extendedInfo
Deprecated. 
Constructor Detail

MetricsMBeanBase

protected MetricsMBeanBase(org.apache.hadoop.metrics.util.MetricsRegistry mr,
                           String description)
Deprecated. 
Method Detail

init

protected void init()
Deprecated. 

getAttribute

public Object getAttribute(String name)
                    throws AttributeNotFoundException,
                           MBeanException,
                           ReflectionException
Deprecated. 
Specified by:
getAttribute in interface DynamicMBean
Overrides:
getAttribute in class org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

getMBeanInfo

public MBeanInfo getMBeanInfo()
Deprecated. 
Specified by:
getMBeanInfo in interface DynamicMBean
Overrides:
getMBeanInfo in class org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase


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