Interface BatchSequenceListener


public interface BatchSequenceListener
Asynchronous result notifications for batch get commands with variable bins per key. The results are sent one batch record at a time.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when the command fails.
    void
    This method is called when an asynchronous batch record is received from the server.
    void
    This method is called when the command completes successfully.
  • Method Details

    • onRecord

      void onRecord(BatchRead record)
      This method is called when an asynchronous batch record is received from the server. The receive sequence is not ordered.
      Parameters:
      record - record instance, BatchRecord.record will be null if the key is not found
    • onSuccess

      void onSuccess()
      This method is called when the command completes successfully.
    • onFailure

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