Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Update the current value, only if it is equal to the assumed value.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public abstract bool SetCount(
	long assumedValue,
	long newValue
)

Parameters

assumedValue
Type: System..::.Int64
The assumed old value.
newValue
Type: System..::.Int64
The new value.

Return Value

true if the value was updated, false otherwise.

See Also