| LWWRegisterTWithValue Method |
Change the value of the register.
You can provide your clock implementation instead of using timestamps based
on DateTime.UtcNow.Ticks time. The timestamp can for example be an
increasing version number from a database record that is used for optimistic
concurrency control.
Namespace:
Akka.DistributedData
Assembly:
Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public LWWRegister<T> WithValue(
UniqueAddress node,
T value,
Clock<T> clock = null
)
member WithValue :
node : UniqueAddress *
value : 'T *
?clock : Clock<'T>
(* Defaults:
let _clock = defaultArg clock null
*)
-> LWWRegister<'T>
Parameters
- node
- Type: Akka.ClusterUniqueAddress
TBD - value
- Type: T
TBD - clock (Optional)
- Type: Akka.DistributedDataClockT
TBD
Return Value
Type:
LWWRegisterTTBD
See Also