Click or drag to resize
AtomicCounterGetAndAdd Method
Returns the current value and adds the specified value to the counter.

Namespace: Akka.Util.Internal
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public int GetAndAdd(
	int amount
)

Parameters

amount
Type: SystemInt32
The amount to add to the counter.

Return Value

Type: Int32
The original value before additions.

Implements

IAtomicCounterTGetAndAdd(T)
See Also