AsyncClient Get Method (BatchPolicy, CancellationToken, List  )Aerospike
Asynchronously read multiple records for specified batch keys in one batch call. This method allows different namespaces/bins to be requested for each key in the batch. The returned records are located in the same list.

Create listener, call asynchronous batch get and return task monitor.

If a batch request to a node fails, the entire batch is cancelled.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.0.0.0 (4.0.0)
Syntax

Parameters

policy
Type: Aerospike.Client BatchPolicy
batch configuration parameters, pass in null for defaults
token
Type: System.Threading CancellationToken
cancellation token
records
Type: System.Collections.Generic List BatchRead 
list of unique record identifiers and the bins to retrieve.

Implements

IAsyncClient Get(BatchPolicy, CancellationToken, List BatchRead )
Exceptions

See Also