Package org.apache.heron.api.metric
Class CountMetric
- java.lang.Object
-
- org.apache.heron.api.metric.CountMetric
-
-
Constructor Summary
Constructors Constructor Description CountMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getValue()
Long
getValueAndReset()
void
incr()
void
incrBy(long incrementBy)
-
-
-
Method Detail
-
incr
public void incr()
-
incrBy
public void incrBy(long incrementBy)
-
getValue
public Long getValue()
-
getValueAndReset
public Long getValueAndReset()
- Specified by:
getValueAndReset
in interfaceIMetric<Long>
-
-