Click or drag to resize
Akka.NETDslUpdateT Method (IKeyT, T, IWriteConsistency)
Constructs a message that, when send to Replicator, will perform an update of a structure stored under provided key. If a value will differ from the one already stored, a merge operation will be automatically performed in order for those values to converge. An optional consistency level may be provided to set up certain constraints on retrieved IUpdateResponse replied from replicator as a result. If no consistency will be provided, a WriteLocal will be used as a default.

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static Update Update<T>(
	IKey<T> key,
	T value,
	IWriteConsistency consistency = null
)
where T : Object, IReplicatedData<T>

Parameters

key
Type: Akka.DistributedDataIKeyT
Key under which a replicated value will be stored.
value
Type: T
Replicated data structure to be updated.
consistency (Optional)
Type: Akka.DistributedDataIWriteConsistency
Consistency determining how/when response will be emitted.

Type Parameters

T
Replicated data type.

Return Value

Type: Update

[Missing <returns> documentation for "M:Akka.DistributedData.Dsl.Update``1(Akka.DistributedData.IKey{``0},``0,Akka.DistributedData.IWriteConsistency)"]

See Also