backtype.storm.metric.api
Class StateMetric

java.lang.Object
  extended by backtype.storm.metric.api.StateMetric
All Implemented Interfaces:
IMetric

public class StateMetric
extends Object
implements IMetric


Constructor Summary
StateMetric(IStatefulObject obj)
           
 
Method Summary
 Object getValueAndReset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateMetric

public StateMetric(IStatefulObject obj)
Method Detail

getValueAndReset

public Object getValueAndReset()
Specified by:
getValueAndReset in interface IMetric


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