Asynchronously determine if a record key exists.
Schedule the exists command with a channel selector and return.
Another thread will process the command and send the results to the listener.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
void Exists( Policy policy, ExistsListener listener, Key key )
Parameters
- policy
- Type: Aerospike.ClientPolicy
generic configuration parameters, pass in null for defaults - listener
- Type: Aerospike.ClientExistsListener
where to send results - key
- Type: Aerospike.ClientKey
unique record identifier
Exceptions
Exception | Condition |
---|---|
AerospikeException | if queue is full |
See Also