public class PreVoteTask extends RaftNodeStatusAwareTask implements Runnable
PreVoteRequests to other members to receive
make sure majority is reachable and ready to elect a new leader.
Also a PreVoteTimeoutTask is scheduled with a
RaftNodeImpl.getLeaderElectionTimeoutInMillis() delay to trigger
pre-voting if a leader is not available yet.
logger, raftNode| Constructor and Description |
|---|
PreVoteTask(RaftNodeImpl raftNode,
int term) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
innerRun() |
runpublic PreVoteTask(RaftNodeImpl raftNode, int term)
protected void innerRun()
innerRun in class RaftNodeStatusAwareTaskCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.