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

## Interface IShellMetric

- All Superinterfaces:
    `IMetric`
  All Known Implementing Classes:
    `AssignableShellMetric`, `CombinedShellMetric`, `CountShellMetric`, `ReducedShellMetric`

      public interface IShellMetric
      extends IMetric

- - ### Method Summary

    All Methods Instance Methods Abstract 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 interface org.apache.storm.metric.api.IMetric

      `getDimensions, getValueAndReset`

- - ### Method Detail

    - #### updateMetricFromRPC

          void updateMetricFromRPC​(Object value)

      This interface is used by ShellBolt and ShellSpout through RPC call to update Metric.
      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