| AtomicCounterGetAndAdd Method |
Returns the current value and adds the specified value to the counter.
Namespace:
Akka.Util.Internal
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public int GetAndAdd(
int amount
)
abstract GetAndAdd :
amount : int -> int
override GetAndAdd :
amount : int -> int
Parameters
- amount
- Type: SystemInt32
The amount to add to the counter.
Return Value
Type:
Int32The original value before additions.
Implements
IAtomicCounterTGetAndAdd(T)See Also