Asynchronously check if multiple record keys exist in one batch call.
Schedule the exists command with a channel selector and return.
Another thread will process the command and send the results to the listener in multiple unordered calls.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public void Exists( BatchPolicy policy, ExistsSequenceListener listener, Key[] keys )
Parameters
- policy
- Type: Aerospike.ClientBatchPolicy
generic configuration parameters, pass in null for defaults - listener
- Type: Aerospike.ClientExistsSequenceListener
where to send results - keys
- Type: Aerospike.ClientKey
array of unique record identifiers
Implements
IAsyncClientExists(BatchPolicy, ExistsSequenceListener, Key)Exceptions
Exception | Condition |
---|---|
AerospikeException | if queue is full |
See Also