|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.util.counters.impl.AbstractCounter
org.mule.util.counters.impl.AggregateCounter
org.mule.util.counters.impl.RatePerUnit
public class RatePerUnit
Constructor Summary | |
---|---|
RatePerUnit(java.lang.String name,
java.lang.String p,
CounterFactory.Type type,
AbstractCounter base)
|
Method Summary | |
---|---|
void |
doCompute()
|
protected long |
getTime()
|
double |
nextValue()
Compute and return the value of the counter. |
Methods inherited from class org.mule.util.counters.impl.AggregateCounter |
---|
compute, decrement, getBase, increment, incrementBy, setRawValue |
Methods inherited from class org.mule.util.counters.impl.AbstractCounter |
---|
addAggregate, getName, getType, propagate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RatePerUnit(java.lang.String name, java.lang.String p, CounterFactory.Type type, AbstractCounter base)
Method Detail |
---|
public double nextValue()
Counter
nextValue
in interface Counter
nextValue
in class AggregateCounter
public void doCompute()
doCompute
in class AggregateCounter
protected long getTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |