AsyncClient.Exists(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: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
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

Task<Boolean>

Implements

IAsyncClient.Exists(Policy, CancellationToken, Key)

Exceptions

AerospikeExceptionif queue is full

See Also