backtype.storm.metric.api
Class ReducedMetric
java.lang.Object
backtype.storm.metric.api.ReducedMetric
- All Implemented Interfaces:
- IMetric
public class ReducedMetric
- extends Object
- implements IMetric
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReducedMetric
public ReducedMetric(IReducer reducer)
update
public void update(Object value)
getValueAndReset
public Object getValueAndReset()
- Specified by:
getValueAndReset in interface IMetric
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.