backtype.storm.metric.api
Class CombinedMetric

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

public class CombinedMetric
extends Object
implements IMetric


Constructor Summary
CombinedMetric(ICombiner combiner)
           
 
Method Summary
 Object getValueAndReset()
           
 void update(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedMetric

public CombinedMetric(ICombiner combiner)
Method Detail

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.