Click or drag to resize
Akka.NETIAtomicCounterT Methods

The IAtomicCounterT generic type exposes the following members.

Methods
  NameDescription
Public methodAddAndGet
Adds the specified value to the counter and returns the new value.
Public methodGetAndAdd
Returns the current value and adds the specified value to the counter.
Public methodGetAndIncrement
Atomically increments the counter by one.
Public methodIncrementAndGet
Atomically increments the counter by one.
Public methodNext
Increments the counter and gets the next value. This is exactly the same as calling IncrementAndGet.
Public methodReset
Resets the counter to zero.
Top
See Also