Interface RaftApplicationEntryCommittedPositionListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RaftApplicationEntryCommittedPositionListener
This listener will only be called by the Leader, when it commits an application entry.

If RAFT is currently running in a follower role, it will not call this listener.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCommit(long committedPosition)
     
  • Method Details

    • onCommit

      void onCommit(long committedPosition)
      Parameters:
      committedPosition - the new committed position which is related to the application entries