Interface WriteListener


public interface WriteListener
Asynchronous result notifications for put, append, prepend, add, delete and touch commands.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when an asynchronous write command fails.
    void
    This method is called when an asynchronous write command completes successfully.
  • Method Details

    • onSuccess

      void onSuccess(Key key)
      This method is called when an asynchronous write command completes successfully.
      Parameters:
      key - unique record identifier
    • onFailure

      void onFailure(AerospikeException ae)
      This method is called when an asynchronous write command fails.