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