 | AtomicReferenceTCompareAndSet Method |
If
Value equals
expected, then set the Value to
newValue.
Namespace:
Akka.Util
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic bool CompareAndSet(
T expected,
T newValue
)
member CompareAndSet :
expected : 'T *
newValue : 'T -> bool
Parameters
- expected
- Type: T
TBD - newValue
- Type: T
TBD
Return Value
Type:
Booleantrue if
newValue was set
See Also