org.apache.hadoop.hbase.master
Class MetricsMaster
java.lang.Object
org.apache.hadoop.hbase.master.MetricsMaster
@InterfaceStability.Evolving
@InterfaceAudience.Private
public class MetricsMaster
- extends Object
This class is for maintaining the various master statistics
and publishing them through the metrics interfaces.
This class has a number of metrics variables that are publicly accessible;
these variables (objects) have methods to update their values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsMaster
public MetricsMaster(MetricsMasterWrapper masterWrapper)
getMetricsSource
public MetricsMasterSource getMetricsSource()
incrementRequests
public void incrementRequests(int inc)
- Parameters:
inc
- How much to add to requests.
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.