org.apache.hadoop.metrics2.lib
Class MutableCounter
java.lang.Object
org.apache.hadoop.metrics2.lib.MutableMetric
org.apache.hadoop.metrics2.lib.MutableCounter
- Direct Known Subclasses:
- MutableCounterInt, MutableCounterLong
@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract class MutableCounter
- extends MutableMetric
The mutable counter (monotonically increasing) metric interface
Method Summary |
abstract void |
incr()
Increment the metric value by 1. |
protected MetricsInfo |
info()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MutableCounter
protected MutableCounter(MetricsInfo info)
info
protected MetricsInfo info()
incr
public abstract void incr()
- Increment the metric value by 1.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.