org.apache.hadoop.hbase.master
Class MetricsMaster

java.lang.Object
  extended by 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.


Constructor Summary
MetricsMaster(MetricsMasterWrapper masterWrapper)
           
 
Method Summary
 MetricsMasterSource getMetricsSource()
           
 void incrementRequests(int inc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsMaster

public MetricsMaster(MetricsMasterWrapper masterWrapper)
Method Detail

getMetricsSource

public MetricsMasterSource getMetricsSource()

incrementRequests

public void incrementRequests(int inc)
Parameters:
inc - How much to add to requests.


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.