AsyncClientDelete Method

Overload List

Delete(WritePolicy, Key) Delete record for specified key. Return whether record existed on server before deletion. The policy specifies the transaction timeout.
Delete(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+

Delete(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.
Delete(WritePolicy, CancellationToken, Key) Asynchronously delete record for specified key. Create listener, call asynchronous delete and return task monitor.
Delete(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+

Delete(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+

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

Requires server version 6.0+

See Also