Package org.apache.storm.metric.api.rpc
Class CountShellMetric
java.lang.Object
org.apache.storm.metric.api.CountMetric
org.apache.storm.metric.api.rpc.CountShellMetric
- All Implemented Interfaces:
IMetric,IShellMetric
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.storm.metric.api.CountMetric
getValueAndReset, incr, incrByMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.metric.api.IMetric
getDimensions, getValueAndReset
-
Constructor Details
-
CountShellMetric
public CountShellMetric()
-
-
Method Details
-
updateMetricFromRPC
Update metric from RPC.- Specified by:
updateMetricFromRPCin interfaceIShellMetric- Parameters:
value- should be null or long if value is null, it will call incr() if value isNumber, it will call incrBy((long)params)
-