backtype.storm.metric.api
Class MultiCountMetric

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

public class MultiCountMetric
extends Object
implements IMetric


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

Constructor Detail

MultiCountMetric

public MultiCountMetric()
Method Detail

scope

public CountMetric scope(String key)

getValueAndReset

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


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