Interface ExecuteListener


public interface ExecuteListener
Asynchronous result notifications for execute commands.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when an asynchronous execute command fails.
    void
    onSuccess(Key key, Object obj)
    This method is called when an asynchronous execute command completes successfully.
  • Method Details

    • onSuccess

      void onSuccess(Key key, Object obj)
      This method is called when an asynchronous execute command completes successfully.
      Parameters:
      key - unique record identifier
      obj - returned object
    • onFailure

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