| AtomicReferenceTCompareAndSet Method |
If
Value equals
expected, then set the Value to
newValue.
Namespace:
Akka.Util
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public 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