Package io.atomix.raft
Interface RaftCommitListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Will be notified when a new batch is committed. It is not guaranteed to get notified for each
index. For example, if records at index 1 to 5 are committed together, the listener can be
invoked just once with index 5.
-
Method Summary
-
Method Details
-
onCommit
void onCommit(long index)
-