IAsyncClientGet Method (BatchPolicy, RecordSequenceListener, Key, Operation)

Aerospike
Asynchronously read multiple records for specified keys using read operations 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 multiple unordered calls.

Each record result is returned in separate OnRecord() calls. If a key is not found, the record will be null.

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

C#
void Get(
	BatchPolicy policy,
	RecordSequenceListener listener,
	Key[] keys,
	params Operation[] ops
)

Parameters

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

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference