Asynchronously read multiple record headers and bins for specified keys in one batch call.
Create listener, call asynchronous batch get and return task monitor.
Namespace: Aerospike.ClientIf 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, the entire batch is cancelled.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.6.0 (3.9.6)
Syntax
Parameters
- policy
- Type: Aerospike.Client BatchPolicy
generic configuration parameters, pass in null for defaults
- token
- Type: System.Threading CancellationToken
cancellation token
- keys
- Type: Aerospike.Client Key
array of unique record identifiers
- binNames
- Type: System String
array of bins to retrieve
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if queue is full |
See Also