Click or drag to resize
Akka.NETUpdate Constructor (IKey, IReplicatedData, IWriteConsistency, FuncIReplicatedData, IReplicatedData, Object)
Modify value of local Replicator and replicate with given IWriteConsistency. The current value for the Key is passed to the Modify function. If there is no current data value for the Key the initial value will be passed to the Modify function. The optional request context is included in the reply messages. This is a convenient way to pass contextual information (e.g. original sender) without having to use `ask` or local correlation data structures.

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public Update(
	IKey key,
	IReplicatedData initial,
	IWriteConsistency consistency,
	Func<IReplicatedData, IReplicatedData> modify,
	Object request = null
)

Parameters

key
Type: Akka.DistributedDataIKey

[Missing <param name="key"/> documentation for "M:Akka.DistributedData.Update.#ctor(Akka.DistributedData.IKey,Akka.DistributedData.IReplicatedData,Akka.DistributedData.IWriteConsistency,System.Func{Akka.DistributedData.IReplicatedData,Akka.DistributedData.IReplicatedData},System.Object)"]

initial
Type: Akka.DistributedDataIReplicatedData

[Missing <param name="initial"/> documentation for "M:Akka.DistributedData.Update.#ctor(Akka.DistributedData.IKey,Akka.DistributedData.IReplicatedData,Akka.DistributedData.IWriteConsistency,System.Func{Akka.DistributedData.IReplicatedData,Akka.DistributedData.IReplicatedData},System.Object)"]

consistency
Type: Akka.DistributedDataIWriteConsistency

[Missing <param name="consistency"/> documentation for "M:Akka.DistributedData.Update.#ctor(Akka.DistributedData.IKey,Akka.DistributedData.IReplicatedData,Akka.DistributedData.IWriteConsistency,System.Func{Akka.DistributedData.IReplicatedData,Akka.DistributedData.IReplicatedData},System.Object)"]

modify
Type: SystemFuncIReplicatedData, IReplicatedData

[Missing <param name="modify"/> documentation for "M:Akka.DistributedData.Update.#ctor(Akka.DistributedData.IKey,Akka.DistributedData.IReplicatedData,Akka.DistributedData.IWriteConsistency,System.Func{Akka.DistributedData.IReplicatedData,Akka.DistributedData.IReplicatedData},System.Object)"]

request (Optional)
Type: SystemObject

[Missing <param name="request"/> documentation for "M:Akka.DistributedData.Update.#ctor(Akka.DistributedData.IKey,Akka.DistributedData.IReplicatedData,Akka.DistributedData.IWriteConsistency,System.Func{Akka.DistributedData.IReplicatedData,Akka.DistributedData.IReplicatedData},System.Object)"]

See Also