Interface TaskStatusListener


public interface TaskStatusListener
Asynchronous result notifications for index status command.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when an asynchronous command fails.
    void
    onSuccess(int status)
    This method is called when an asynchronous command completes successfully.
  • Method Details

    • onSuccess

      void onSuccess(int status)
      This method is called when an asynchronous command completes successfully.
      Parameters:
      status - task status (see Task)
    • onFailure

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