Asynchronously check if multiple record keys exist in one batch call.
Schedule the array exists 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 policy can be used to specify timeouts.
If a batch request to a node fails, the entire batch is cancelled.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.16.1 (3.9.16.1)
Syntax
C#
public void Exists( BatchPolicy policy, ExistsArrayListener listener, Key[] keys )
Parameters
- policy
- Type: Aerospike.ClientBatchPolicy
generic configuration parameters, pass in null for defaults - listener
- Type: Aerospike.ClientExistsArrayListener
where to send results - keys
- Type: Aerospike.ClientKey
array of unique record identifiers
Exceptions
Exception | Condition |
---|---|
AerospikeException | if queue is full |
See Also