InterlockedCounterSetCount Method (Int64, Int64) | 
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
 
            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.14 (14.1.1.14)
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