AsyncClientGet(Policy, CancellationToken, Key) Method

Asynchronously read entire record for specified key. Create listener, call asynchronous get and return task monitor.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public Task<Record> Get(
	Policy policy,
	CancellationToken token,
	Key key
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
key  Key
unique record identifier

Return Value

TaskRecord

Implements

IAsyncClientGet(Policy, CancellationToken, Key)

Exceptions

AerospikeExceptionif queue is full

See Also