 | AtomicCounterLongCompareAndSet Method |
Compares current counter value with provided expected value,
and sets it to newValue if compared values where equal.
Returns true if replacement has succeed.
Namespace:
Akka.Util.Internal
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic bool CompareAndSet(
long expected,
long newValue
)
member CompareAndSet :
expected : int64 *
newValue : int64 -> bool
Parameters
- expected
- Type: SystemInt64
TBD - newValue
- Type: SystemInt64
TBD
Return Value
Type:
BooleanTBD
See Also