AsyncClientExists(Policy, CancellationToken, Key) Method

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

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public Task<bool> Exists(
	Policy policy,
	CancellationToken token,
	Key key
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
key  Key
unique record identifier

Return Value

TaskBoolean

Implements

IAsyncClientExists(Policy, CancellationToken, Key)

Exceptions

AerospikeExceptionif queue is full

See Also