Interface DeleteListener


public interface DeleteListener
Asynchronous result notifications for delete commands.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 Details

    • 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 ae)
      This method is called when an asynchronous delete command fails.