| Modifier and Type | Field and Description |
|---|---|
static Counter |
NONE
Empty no-op
Counter. |
| Modifier and Type | Method and Description |
|---|---|
void |
decrement()
Decrement the
Counter by one. |
void |
decrement(long n)
Decrement the
Counter by n. |
void |
increment()
Increment the
Counter by one. |
void |
increment(long n)
Increment the
Counter by n. |
static final Counter NONE
Counter.void decrement()
Counter by one.void decrement(long n)
Counter by n.n - amount to decrementvoid increment()
Counter by one.void increment(long n)
Counter by n.n - amount to incrementCinnamon API. Copyright (c) 2015–2021 Lightbend.