AsyncClient Get Method (BatchPolicy, RecordArrayListener,  Key ,  String )Aerospike
Asynchronously read multiple record headers and bins for specified keys in one batch call. Schedule the batch get command with a channel selector and return. Another thread will process the command and send the results to the listener in a single call.

If a key is not found, the record will be null.

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

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.5.0 (4.2.5)
Syntax

Parameters

policy
Type: Aerospike.Client BatchPolicy
batch configuration parameters, pass in null for defaults
listener
Type: Aerospike.Client RecordArrayListener
where to send results
keys
Type:  Aerospike.Client Key 
array of unique record identifiers
binNames
Type:  System String 
array of bins to retrieve
Exceptions

See Also