IAtomicLongGetAndSet Method Hazelcast .Net Client Class Library
Atomically sets the given value and returns the old value.

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

long GetAndSet(
	long newValue
)

Parameters

newValue
Type: SystemInt64
the new value

Return Value

Type: Int64
the old value
Remarks

Atomically sets the given value and returns the old value.
See Also

Reference