Interface CommitListener


public interface CommitListener
Asynchronous result notifications for multi-record transaction (MRT) commits.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when the commit fails.
    void
    This method is called when the records are verified and the commit succeeded or will succeed.
  • Method Details

    • onSuccess

      void onSuccess(CommitStatus status)
      This method is called when the records are verified and the commit succeeded or will succeed.
    • onFailure

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