public class PreVoteResponseHandlerTask extends AbstractResponseHandlerTask
PreVoteResponse sent by PreVoteRequestHandlerTask.
Initiates leader election by executing LeaderElectionTask
if majority grants vote for this pre-voting term.
PreVoteResponselogger, raftNode| Constructor and Description |
|---|
PreVoteResponseHandlerTask(RaftNodeImpl raftNode,
PreVoteResponse response) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleResponse() |
protected Endpoint |
sender() |
innerRunrunpublic PreVoteResponseHandlerTask(RaftNodeImpl raftNode, PreVoteResponse response)
protected void handleResponse()
handleResponse in class AbstractResponseHandlerTaskprotected Endpoint sender()
sender in class AbstractResponseHandlerTaskCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.