Package org.apache.storm.metric.api.rpc
Class ReducedShellMetric
java.lang.Object
org.apache.storm.metric.api.ReducedMetric
org.apache.storm.metric.api.rpc.ReducedShellMetric
- All Implemented Interfaces:
IMetric,IShellMetric
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateMetricFromRPC(Object value) This interface is used by ShellBolt and ShellSpout through RPC call to update Metric.Methods inherited from class org.apache.storm.metric.api.ReducedMetric
getValueAndReset, updateMethods 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
-
ReducedShellMetric
-
-
Method Details
-
updateMetricFromRPC
Description copied from interface:IShellMetricThis interface is used by ShellBolt and ShellSpout through RPC call to update Metric.- Specified by:
updateMetricFromRPCin interfaceIShellMetric- Parameters:
value- used to update metric, its's meaning change according implementation Object can be any json support types: String, Long, Double, Boolean, Null, List, Map
-