Click or drag to resize

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
)

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