backtype.storm.metric.api.rpc
Class CountShellMetric
java.lang.Object
backtype.storm.metric.api.CountMetric
backtype.storm.metric.api.rpc.CountShellMetric
- All Implemented Interfaces:
- IMetric, IShellMetric
public class CountShellMetric
- extends CountMetric
- implements IShellMetric
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountShellMetric
public CountShellMetric()
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.