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