IAsyncClientExists Method (BatchPolicy, CancellationToken, Key)

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

The policy can be used to specify timeouts.

If a batch request to a node fails, the entire batch is cancelled.

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

C#
Task<bool[]> Exists(
	BatchPolicy policy,
	CancellationToken token,
	Key[] keys
)

Parameters

policy
Type: Aerospike.ClientBatchPolicy
generic configuration parameters, pass in null for defaults
token
Type: System.ThreadingCancellationToken
cancellation token
keys
Type: Aerospike.ClientKey
array of unique record identifiers

Return Value

Type: TaskBoolean
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference