Read multiple records for specified keys in one batch 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.
The policy can be used to specify timeouts and maximum concurrent threads.
Namespace: Aerospike.ClientIf a batch request to a node fails, the entire batch is cancelled.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.1.0 (4.1.1)
Syntax
Parameters
- policy
- Type: Aerospike.Client BatchPolicy
batch configuration parameters, pass in null for defaults
- keys
- Type: Aerospike.Client Key
array of unique record identifiers
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if read fails |
See Also