InterlockedCounterSetCount Method (Int64, Int64) |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Update the current value, only if it is equal to the assumed
value.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic override bool SetCount(
long assumedValue,
long newValue
)
Parameters
- assumedValue
- Type: SystemInt64
The assumed old value.
- newValue
- Type: SystemInt64
The new value.
Return Value
Type:
Booleantrue if the value was updated,
false otherwise.
See Also