Interface ExistsSequenceListener


public interface ExistsSequenceListener
Asynchronous result notifications for batch exists commands. The results are sent one record at a time.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onExists(Key key, boolean exists)
    This method is called when an asynchronous batch exists result is received from the server.
    void
    This method is called when an asynchronous batch exists command fails.
    void
    This method is called when the asynchronous batch exists command completes.
  • Method Details

    • onExists

      void onExists(Key key, boolean exists)
      This method is called when an asynchronous batch exists result is received from the server. The receive sequence is not ordered.
      Parameters:
      key - unique record identifier
      exists - whether key exists on server
    • onSuccess

      void onSuccess()
      This method is called when the asynchronous batch exists command completes.
    • onFailure

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