Interface BatchListListener


public interface BatchListListener
Asynchronous result notifications for batch get commands with variable bins per key. The result is sent in a single list.
  • Method Summary

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

    • onSuccess

      void onSuccess(List<BatchRead> records)
      This method is called when the command completes successfully.
      Parameters:
      records - record instances, BatchRecord.record will be null if the key is not found
    • onFailure

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