org.apache.hadoop.hbase.metrics
Class MetricsRate
java.lang.Object
org.apache.hadoop.hbase.metrics.MetricsRate
public class MetricsRate
- extends Object
Publishes a rate based on a counter - you increment the counter each
time an event occurs (eg: an RPC call) and this publishes a rate.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsRate
public MetricsRate(String name)
inc
public void inc(int incr)
inc
public void inc()
pushMetric
public void pushMetric(org.apache.hadoop.metrics.MetricsRecord mr)
getPreviousIntervalValue
public float getPreviousIntervalValue()
Copyright © 2009 The Apache Software Foundation