backtype.storm.metric.api.rpc
Class CountShellMetric

java.lang.Object
  extended by backtype.storm.metric.api.CountMetric
      extended by backtype.storm.metric.api.rpc.CountShellMetric
All Implemented Interfaces:
IMetric, IShellMetric

public class CountShellMetric
extends CountMetric
implements IShellMetric


Constructor Summary
CountShellMetric()
           
 
Method Summary
 void updateMetricFromRPC(Object value)
           
 
Methods inherited from class backtype.storm.metric.api.CountMetric
getValueAndReset, incr, incrBy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface backtype.storm.metric.api.IMetric
getValueAndReset
 

Constructor Detail

CountShellMetric

public CountShellMetric()
Method Detail

updateMetricFromRPC

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


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.