AsyncClient Get Method (BatchPolicy, BatchListListener, 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. If the BatchRecord key field is not found, the corresponding record field will be null.

This method schedules the get command with a channel selector and returns. Another thread will process the command and send the results to the listener in a single call. This method requires Aerospike Server version >= 3.6.0.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.6.6.0 (3.6.6)
Syntax

Parameters

policy
Type: Aerospike.Client BatchPolicy
batch configuration parameters, pass in null for defaults
listener
Type: Aerospike.Client BatchListListener
where to send results
records
Type: OnlineSystem.Collections.Generic List BatchRead 
list of unique record identifiers and the bins to retrieve.
Exceptions

See Also