org.apache.hadoop.hbase.replication.regionserver
Class ReplicationStatistics
java.lang.Object
org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase
org.apache.hadoop.hbase.metrics.MetricsMBeanBase
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.
Constructor Summary |
ReplicationStatistics(org.apache.hadoop.metrics.util.MetricsRegistry registry,
String name)
Constructor to register the MBean |
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 |
ReplicationStatistics
public ReplicationStatistics(org.apache.hadoop.metrics.util.MetricsRegistry registry,
String name)
- Constructor to register the MBean
- Parameters:
registry
- which rehistry to usename
- name to get to this bean
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.