Interface BatchRecordSequenceListener


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

    Modifier and Type
    Method
    Description
    void
    This method is called when the command fails.
    void
    onRecord(BatchRecord record, int index)
    This method is called when a record is received from the server.
    void
    This method is called when the command completes successfully.
  • Method Details

    • onRecord

      void onRecord(BatchRecord record, int index)
      This method is called when a record is received from the server. The receive sequence is not ordered.
      Parameters:
      record - record instance
      index - index offset into the original BatchRecord array.
    • 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.