Class CountShellMetric

java.lang.Object
org.apache.storm.metric.api.CountMetric
org.apache.storm.metric.api.rpc.CountShellMetric
All Implemented Interfaces:
IMetric, IShellMetric

public class CountShellMetric extends CountMetric implements IShellMetric
  • Constructor Details

    • CountShellMetric

      public CountShellMetric()
  • Method Details

    • updateMetricFromRPC

      public void updateMetricFromRPC(Object value)
      Update metric from RPC.
      Specified by:
      updateMetricFromRPC in interface IShellMetric
      Parameters:
      value - should be null or long if value is null, it will call incr() if value is Number, it will call incrBy((long)params)