public interface Counter
Modifier and Type | Method and Description |
---|---|
long |
get()
Gets the current value of the counter.
|
long |
inc()
Increments the counter by one.
|
long |
inc(long amount)
Increments (or decrements) the counter by the given amount.
|
long get()
long inc()
long inc(long amount)
amount
- the amount to increase or decrease the counter with.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.