org.apache.hadoop.hbase.replication.regionserver
Class ReplicationStatistics

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

public class ReplicationStatistics
extends MetricsMBeanBase

Exports metrics recorded by ReplicationSourceMetrics as an MBean for JMX monitoring.


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.metrics.MetricsMBeanBase
description, extendedAttributes, extendedInfo, registry, registryLength
 
Constructor Summary
ReplicationStatistics(org.apache.hadoop.metrics.util.MetricsRegistry registry, String name)
          Constructor to register the MBean
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hbase.metrics.MetricsMBeanBase
getAttribute, getMBeanInfo, init
 
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
 

Constructor Detail

ReplicationStatistics

public ReplicationStatistics(org.apache.hadoop.metrics.util.MetricsRegistry registry,
                             String name)
Constructor to register the MBean

Parameters:
registry - which rehistry to use
name - name to get to this bean


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