AsyncClientDelete(BatchPolicy, BatchDeletePolicy, CancellationToken, Key) Method

Asynchronously delete records for specified keys. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public Task<BatchResults> Delete(
	BatchPolicy batchPolicy,
	BatchDeletePolicy deletePolicy,
	CancellationToken token,
	Key[] keys
)

Parameters

batchPolicy  BatchPolicy
batch configuration parameters, pass in null for defaults
deletePolicy  BatchDeletePolicy
delete configuration parameters, pass in null for defaults
token  CancellationToken
cancellation token
keys  Key
array of unique record identifiers

Return Value

TaskBatchResults

Implements

IAsyncClientDelete(BatchPolicy, BatchDeletePolicy, CancellationToken, Key)

Exceptions

AerospikeExceptionif queue is full

See Also