public class PreVoteTask extends RaftNodeStatusAwareTask implements Runnable
PreVoteRequest
s 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() |
run
public PreVoteTask(RaftNodeImpl raftNode, int term)
protected void innerRun()
innerRun
in class RaftNodeStatusAwareTask
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.