Package io.atomix.raft
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.
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
-
Method Details
-
onCommit
void onCommit(long committedPosition) - Parameters:
committedPosition- the new committed position which is related to the application entries
-