IAsyncClientExists Method (Policy, CancellationToken, Key)

Aerospike
Asynchronously determine if a record key exists. Create listener, call asynchronous exists and return task monitor.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
Task<bool> Exists(
	Policy policy,
	CancellationToken token,
	Key key
)

Parameters

policy
Type: Aerospike.ClientPolicy
generic configuration parameters, pass in null for defaults
token
Type: System.ThreadingCancellationToken
cancellation token
key
Type: Aerospike.ClientKey
unique record identifier

Return Value

Type: TaskBoolean
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference