public class CombinedShellMetric extends CombinedMetric implements IShellMetric
Constructor and Description |
---|
CombinedShellMetric(ICombiner combiner) |
Modifier and Type | Method and Description |
---|---|
void |
updateMetricFromRPC(Object value)
This interface is used by ShellBolt and ShellSpout through RPC call to update Metric.
|
getValueAndReset, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueAndReset
public CombinedShellMetric(ICombiner combiner)
public void updateMetricFromRPC(Object value)
IShellMetric
This interface is used by ShellBolt and ShellSpout through RPC call to update Metric.
updateMetricFromRPC
in interface IShellMetric
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 © 2019 The Apache Software Foundation. All rights reserved.