Interface IndexListener


public interface IndexListener
Asynchronous result notifications for create/drop index commands.
  • Method Summary

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

    • onSuccess

      void onSuccess(AsyncIndexTask indexTask)
      This method is called when an asynchronous command completes successfully.
      Parameters:
      indexTask - task monitor that can be used to query for index command completion.
    • onFailure

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