AtomicCounterAddAndGet Method |
Adds the specified value to the counter and returns the new value.
Namespace: Akka.Util.InternalAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic int AddAndGet(
int amount
)
Public Function AddAndGet (
amount As Integer
) As Integer
public:
virtual int AddAndGet(
int amount
) sealed
abstract AddAndGet :
amount : int -> int
override AddAndGet :
amount : int -> int
Parameters
- amount
- Type: SystemInt32
The amount to add to the counter.
Return Value
Type:
Int32The new value after additions.
Implements
IAtomicCounterTAddAndGet(T)
See Also