|
|||||||||||
| 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
| Constructor Summary | |
AggregateCounter(String name,
CounterFactory.Type type,
AbstractCounter base)
|
|
| Method Summary | |
void |
compute()
|
double |
decrement()
Decrement the counter's value by 1.0. |
abstract void |
doCompute()
|
Counter |
getBase()
|
double |
increment()
Increment the counter's value by 1.0. |
double |
incrementBy(double value)
Increment the counter's value by the specified amount. |
abstract double |
nextValue()
Compute and return the value of the counter. |
void |
setRawValue(double value)
Set the counter's value to a new value. |
| 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 AggregateCounter(String name,
CounterFactory.Type type,
AbstractCounter base)
| Method Detail |
public double increment()
Counter
increment in interface Counterincrement in class AbstractCounterpublic double incrementBy(double value)
Counter
incrementBy in interface CounterincrementBy in class AbstractCounterpublic double decrement()
Counter
decrement in interface Counterdecrement in class AbstractCounterpublic void setRawValue(double value)
Counter
setRawValue in interface CountersetRawValue in class AbstractCounterpublic void compute()
public Counter getBase()
public abstract double nextValue()
Counter
nextValue in interface CounternextValue in class AbstractCounterpublic abstract void doCompute()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||