AsyncClientExists(BatchPolicy, CancellationToken, Key) Method

Asynchronously check if multiple record keys exist in one batch call. Create listener, call asynchronous array exists and return task monitor.

Definition

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

Parameters

policy  BatchPolicy
generic configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
keys  Key
array of unique record identifiers

Return Value

TaskBoolean

Implements

IAsyncClientExists(BatchPolicy, CancellationToken, Key)

Exceptions

AerospikeExceptionif queue is full

See Also