public interface IShellMetric extends IMetric
| Modifier and Type | Method and Description |
|---|---|
void |
updateMetricFromRPC(Object value)
This interface is used by ShellBolt and ShellSpout through RPC call to update Metric.
|
getValueAndResetvoid updateMetricFromRPC(Object value)
This interface is used by ShellBolt and ShellSpout through RPC call to update Metric.
value - used to update metric, its’s meaning change according implementation Object can be any json support types: String, Long, Double, Boolean, Null, List, MapCopyright © 2021 The Apache Software Foundation. All rights reserved.