| IGetResponseGetT Method |
Tries to return a result of the request, given a replicated collection
key used when sending a [!:Replicator.Get] request.
Namespace:
Akka.DistributedData
Assembly:
Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax T Get<T>(
IKey<T> key
)
where T : IReplicatedData
abstract Get :
key : IKey<'T> -> 'T when 'T : IReplicatedData
Parameters
- key
- Type: Akka.DistributedDataIKeyT
Key send originally with a [!:Replicator.Get] request.
Type Parameters
- T
- Replicated data.
Return Value
Type:
T[Missing <returns> documentation for "M:Akka.DistributedData.IGetResponse.Get``1(Akka.DistributedData.IKey{``0})"]
Exceptions Exception | Condition |
---|
KeyNotFoundException | Thrown when no value for provided key was found. |
TimeoutException | Thrown when response with given consistency didn't arrive within specified timeout. |
See Also