Asynchronously read multiple record headers and bins for specified keys in one batch call.
This method schedules the get command with a channel selector and returns.
Another thread will process the command and send the results to the listener in multiple unordered calls.
Namespace: Aerospike.ClientIf a key is not found, the record will be null. The policy can be used to specify timeouts.
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.1.0.0 (3.1.0)
Syntax
Parameters
- policy
- Type: Aerospike.Client Policy
generic configuration parameters, pass in null for defaults
- listener
- Type: Aerospike.Client RecordSequenceListener
where to send results
- 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