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 SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.storm.metric.api.CountMetricgetValueAndReset, incr, incrByMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.metric.api.IMetricgetDimensions, getValueAndReset
- 
Constructor Details- 
CountShellMetricpublic CountShellMetric()
 
- 
- 
Method Details- 
updateMetricFromRPCUpdate metric from RPC.- Specified by:
- updateMetricFromRPCin interface- IShellMetric
- Parameters:
- value- should be null or long if value is null, it will call incr() if value is- Number, it will call incrBy((long)params)
 
 
-