Package org.apache.hadoop.metrics2.lib
Class MutableFastCounter
java.lang.Object
org.apache.hadoop.metrics2.lib.MutableMetric
org.apache.hadoop.metrics2.lib.MutableCounter
org.apache.hadoop.metrics2.lib.MutableFastCounter
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
MutableFastCounter
(org.apache.hadoop.metrics2.MetricsInfo info, long iVal) -
Method Summary
Methods inherited from class org.apache.hadoop.metrics2.lib.MutableCounter
info
Methods inherited from class org.apache.hadoop.metrics2.lib.MutableMetric
changed, clearChanged, setChanged, snapshot
-
Field Details
-
counter
-
-
Constructor Details
-
MutableFastCounter
-
-
Method Details
-
incr
- Specified by:
incr
in classorg.apache.hadoop.metrics2.lib.MutableCounter
-
incr
Increment the value by a delta- Parameters:
delta
- of the increment
-
snapshot
- Specified by:
snapshot
in classorg.apache.hadoop.metrics2.lib.MutableMetric
-
value
-