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