Package org.apache.storm.metric.api
Class MultiCountMetric
- java.lang.Object
-
- org.apache.storm.metric.api.MultiCountMetric
-
-
Constructor Summary
Constructors Constructor Description MultiCountMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValueAndReset()
CountMetric
scope(String key)
-
-
-
Method Detail
-
scope
public CountMetric scope(String key)
-
getValueAndReset
public Object getValueAndReset()
- Specified by:
getValueAndReset
in interfaceIMetric
-
-