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