|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Counter
This interface is the interface implemented for all counter types. A Counter can
represent a real counter or a virtual counter that will be computed using one or
more other counters.
Method Summary | |
---|---|
double |
decrement()
Decrement the counter's value by 1.0. |
CounterFactory.Type |
getType()
Accessor for the counter type. |
double |
increment()
Increment the counter's value by 1.0. |
double |
incrementBy(double value)
Increment the counter's value by the specified amount. |
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 interface org.mule.api.NamedObject |
---|
getName |
Method Detail |
---|
CounterFactory.Type getType()
double increment()
double incrementBy(double value)
value
- the amount to increment the counter by
double decrement()
void setRawValue(double value)
value
- the new value of the counterdouble nextValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |