public interface Counter extends NamedObject
Modifier and Type | Method and Description |
---|---|
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.
|
getName
CounterFactory.Type getType()
double increment()
double incrementBy(double value)
value
- the amount to increment the counter bydouble decrement()
void setRawValue(double value)
value
- the new value of the counterdouble nextValue()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.