| IAtomicLongGetAndSet Method |
Atomically sets the given value and returns the old value.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
Syntax long GetAndSet(
long newValue
)
Function GetAndSet (
newValue As Long
) As Long
long long GetAndSet(
long long newValue
)
abstract GetAndSet :
newValue : int64 -> int64
Parameters
- newValue
- Type: SystemInt64
the new value
Return Value
Type:
Int64the old value
Remarks Atomically sets the given value and returns the old value.
See Also