public class VoteRequestHandlerTask extends RaftNodeStatusAwareTask implements Runnable
VoteRequest sent by a candidate. Responds with
a VoteResponse to the sender. Leader election is initiated by
LeaderElectionTask.
See 5.2 Leader election section of In Search of an Understandable Consensus Algorithm paper by Diego Ongaro and John Ousterhout.
VoteRequest,
VoteResponse,
LeaderElectionTasklogger, raftNode| Constructor and Description |
|---|
VoteRequestHandlerTask(RaftNodeImpl raftNode,
VoteRequest req) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
innerRun() |
runpublic VoteRequestHandlerTask(RaftNodeImpl raftNode, VoteRequest req)
protected void innerRun()
innerRun in class RaftNodeStatusAwareTaskCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.