public interface TermChangeAwareService
Modifier and Type | Method and Description |
---|---|
void |
onNewTermCommit(CPGroupId groupId,
long commitIndex)
Invokes as part of the first commit after a new leader is elected.
|
void onNewTermCommit(CPGroupId groupId, long commitIndex)
groupId
- id of the Raft group in which a new leader is electedcommitIndex
- index of the commit in the Raft logCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.