Interface BatchOperateListListener


public interface BatchOperateListListener
Asynchronous result notifications for batch operate commands with variable operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when the command fails.
    void
    onSuccess(List<BatchRecord> records, boolean status)
    This method is called when the command completes successfully.
  • Method Details

    • onSuccess

      void onSuccess(List<BatchRecord> records, boolean status)
      This method is called when the command completes successfully.
      Parameters:
      records - record instances, BatchRecord.record will be null if an error occurred for that key.
      status - true if all records returned success.
    • onFailure

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