AsyncClientGet(Policy, CancellationToken, Key, String) Method

Asynchronously read record header and bins 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,
	params string[] binNames
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
key  Key
unique record identifier
binNames  String
bins to retrieve

Return Value

TaskRecord

Implements

IAsyncClientGet(Policy, CancellationToken, Key, String)

Exceptions

AerospikeExceptionif queue is full

See Also