Type of keys for the Replicated Counter Map
Get the value at the given key.
The key to get
The counter value, or undefined if no value is defined at that key
Get the value as a long at the given key.
The key to get
The counter value as a long, or undefined if no value is defined at that key
Increment the counter at the given key by the given number.
The key for the counter to increment
The amount to increment the counter by. If negative, it will be decremented instead
This counter map
Decrement the counter at the given key by the given number.
The key for the counter to decrement
The amount to decrement the counter by. If negative, it will be incremented instead.
This counter map
Check whether this map contains a value of the given key.
The key to check
True if this counter map contains a value for the given key
Return an (iterable) iterator of the keys of this counter map.
Delete the counter at the given key.
The key to delete
This counter map
Clear all counters from this counter map.
This counter map
The number of elements in this map.
Generated using TypeDoc
A replicated map of counters.