Package org.apache.storm.metric.api.rpc

## Class CombinedShellMetric

- java.lang.Object
- - org.apache.storm.metric.api.CombinedMetric
  - - org.apache.storm.metric.api.rpc.CombinedShellMetric

- All Implemented Interfaces:
    `IMetric`, `IShellMetric`

      public class CombinedShellMetric
      extends CombinedMetric
      implements IShellMetric

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CombinedShellMetric​(ICombiner combiner)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `updateMetricFromRPC​(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.CombinedMetric

      `getValueAndReset, update`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.storm.metric.api.IMetric

      `getDimensions, getValueAndReset`

- - ### Constructor Detail

    - #### CombinedShellMetric

          public CombinedShellMetric​(ICombiner combiner)

  - ### Method Detail

    - #### updateMetricFromRPC

          public void updateMetricFromRPC​(Object value)

      Description copied from interface: `IShellMetric`
      This interface is used by ShellBolt and ShellSpout through RPC call to update Metric.
      Specified by:
        `updateMetricFromRPC` in interface `IShellMetric`
      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