AsyncClientDelete Method

Aerospike
Overload List

  NameDescription
Public methodDelete(WritePolicy, Key)
Delete record for specified key. Return whether record existed on server before deletion. The policy specifies the transaction timeout.
(Inherited from AerospikeClient.)
Public methodDelete(BatchPolicy, BatchDeletePolicy, Key)
Delete records for specified keys. If a key is not found, the corresponding result resultCode will be KEY_NOT_FOUND_ERROR.

Requires server version 6.0+

(Inherited from AerospikeClient.)
Public methodDelete(WritePolicy, DeleteListener, Key)
Asynchronously delete record for specified key. Schedule the delete command with a channel selector and return. Another thread will process the command and send the results to the listener.
Public methodDelete(WritePolicy, CancellationToken, Key)
Asynchronously delete record for specified key. Create listener, call asynchronous delete and return task monitor.
Public methodDelete(BatchPolicy, BatchDeletePolicy, BatchRecordArrayListener, Key)
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+

Public methodDelete(BatchPolicy, BatchDeletePolicy, BatchRecordSequenceListener, Key)
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.

Each record result is returned in separate OnRecord() calls. If a key is not found, the corresponding result resultCode will be KEY_NOT_FOUND_ERROR.

Requires server version 6.0+

Public methodDelete(BatchPolicy, BatchDeletePolicy, CancellationToken, Key)
Asynchronously delete records for specified keys. Create listener, call asynchronous delete and return task monitor.

Requires server version 6.0+

Top
See Also

Reference