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.
Namespace: Aerospike.ClientCreate listener, call asynchronous batch get and return task monitor.
If a batch request to a node fails, the entire batch is cancelled.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.0.1.0 (4.0.1)
Syntax
Parameters
- policy
- Type: Aerospike.Client BatchPolicy
batch configuration parameters, pass in null for defaults
- token
- Type: System.Threading CancellationToken
cancellation token
- records
- Type: System.Collections.Generic List BatchRead
list of unique record identifiers and the bins to retrieve.
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if read fails |
See Also