Interface RaftCommittedEntryListener

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 RaftCommittedEntryListener
This listener will only be called by the Leader, when it commits an 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(IndexedRaftLogEntry indexedRaftLogEntry)
     
  • Method Details

    • onCommit

      void onCommit(IndexedRaftLogEntry indexedRaftLogEntry)
      Parameters:
      indexedRaftLogEntry - the new committed entry