com.aerospike.client.listener
Interface DeleteListener


public interface DeleteListener

Asynchronous result notifications for delete commands.


Method Summary
 void onFailure(AerospikeException exception)
          This method is called when an asynchronous delete command fails.
 void onSuccess(Key key, boolean existed)
          This method is called when an asynchronous delete command completes successfully.
 

Method Detail

onSuccess

void onSuccess(Key key,
               boolean existed)
This method is called when an asynchronous delete command completes successfully.

Parameters:
key - unique record identifier
existed - whether record existed on server before deletion

onFailure

void onFailure(AerospikeException exception)
This method is called when an asynchronous delete command fails.

Parameters:
exception - error that occurred