org.mule.util.counters.impl
Class RatePerUnit
java.lang.Object
org.mule.util.counters.impl.AbstractCounter
org.mule.util.counters.impl.AggregateCounter
org.mule.util.counters.impl.RatePerUnit
- All Implemented Interfaces:
- NamedObject, Counter
public class RatePerUnit
- extends AggregateCounter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RatePerUnit
public RatePerUnit(String name,
String p,
CounterFactory.Type type,
AbstractCounter base)
nextValue
public double nextValue()
- Description copied from interface:
Counter
- Compute and return the value of the counter.
- Specified by:
nextValue
in interface Counter
- Specified by:
nextValue
in class AggregateCounter
- Returns:
- the value of the counter
doCompute
public void doCompute()
- Specified by:
doCompute
in class AggregateCounter
getTime
protected long getTime()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.