Click or drag to resize
IAtomicCounterTGetAndAdd 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
T GetAndAdd(
	T amount
)

Parameters

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

Return Value

Type: T
The original value before additions.
See Also