AsyncClientGet Method (BatchPolicy, RecordSequenceListener, Key)

Aerospike
Asynchronously read multiple records for specified keys in one batch call. Schedule the get command with a channel selector and return. Another thread will process the command and send the results to the listener in multiple unordered calls.

If a key is not found, the record will be null. The policy can be used to specify timeouts.

If a batch request to a node fails, responses from other nodes will continue to be processed.

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

C#
public void Get(
	BatchPolicy policy,
	RecordSequenceListener listener,
	Key[] keys
)

Parameters

policy
Type: Aerospike.ClientBatchPolicy
generic configuration parameters, pass in null for defaults
listener
Type: Aerospike.ClientRecordSequenceListener
where to send results
keys
Type: Aerospike.ClientKey
array of unique record identifiers
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference