The value as a long.
The value as a number.
Increment the counter by the given number.
The amount to increment the counter by. If negative, it will be decremented instead
This counter
Decrement the counter by the given number.
The amount to decrement the counter by. If negative, it will be incremented instead
This counter
Generated using TypeDoc
A Replicated Counter data type.
A counter that can be incremented and decremented.
The value is stored as a 64-bit signed long, hence values over
2^63 - 1
and less than2^63
can't be represented.