IAsyncClientDelete Method (BatchPolicy, BatchDeletePolicy, BatchRecordArrayListener, Key)

Aerospike
Asynchronously delete records for specified keys. Schedule the delete command with a channel selector and return. Another thread will process the command and send the results to the listener.

If a key is not found, the corresponding result resultCode will be KEY_NOT_FOUND_ERROR.

Requires server version 6.0+

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

C#
void Delete(
	BatchPolicy batchPolicy,
	BatchDeletePolicy deletePolicy,
	BatchRecordArrayListener listener,
	Key[] keys
)

Parameters

batchPolicy
Type: Aerospike.ClientBatchPolicy
batch configuration parameters, pass in null for defaults
deletePolicy
Type: Aerospike.ClientBatchDeletePolicy
delete configuration parameters, pass in null for defaults
listener
Type: Aerospike.ClientBatchRecordArrayListener
where to send results
keys
Type: Aerospike.ClientKey
array of unique record identifiers
Exceptions

ExceptionCondition
AerospikeExceptionif queue is full
See Also

Reference