IAsyncClientGet(BatchPolicy, RecordArrayListener, Key, Operation) Method
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 a single call.
The returned records are in positional order with the original key array order.
If a key is not found, the positional record will be null.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
void Get(
BatchPolicy policy,
RecordArrayListener listener,
Key[] keys,
params Operation[] ops
)
Parameters
- policy BatchPolicy
- batch configuration parameters, pass in null for defaults
- listener RecordArrayListener
- where to send results
- keys Key
- array of unique record identifiers
- ops Operation
- array of read operations on record