Click or drag to resize
Akka.NETDslGetT Method
Constructs a message that, when send to Replicator, will perform a retrieve of a data structure stored under provided key, and reply with IGetResponse message. An optional consistency level may be supplied in order to apply certain constraints on the produced response.

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

Parameters

key
Type: Akka.DistributedDataIKeyT
Key, for which a value should be retrieved.
consistency (Optional)
Type: Akka.DistributedDataIReadConsistency
A consistency level determining when/how response will be retrieved.
request (Optional)
Type: SystemObject
An object added to both generated Get request and IGetResponse. Can be used i.e. as correlation id.

Type Parameters

T
Replicated data type.

Return Value

Type: Get
TBD
See Also