backtype.storm.metric.api
Class MultiReducedMetric

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

public class MultiReducedMetric
extends Object
implements IMetric


Constructor Summary
MultiReducedMetric(IReducer reducer)
           
 
Method Summary
 Object getValueAndReset()
           
 ReducedMetric scope(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiReducedMetric

public MultiReducedMetric(IReducer reducer)
Method Detail

scope

public ReducedMetric scope(String key)

getValueAndReset

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


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