public class PreVoteRequestHandlerTask extends RaftNodeStatusAwareTask implements Runnable
PreVoteRequest and responds to the sender
with a PreVoteResponse. Pre-voting is initiated by
PreVoteTask.
Grants vote or rejects the request as if responding to
a VoteRequest
but differently Raft state is not mutated/updated, this task is
completely read-only.
PreVoteRequest,
PreVoteResponse,
PreVoteTasklogger, raftNode| Constructor and Description |
|---|
PreVoteRequestHandlerTask(RaftNodeImpl raftNode,
PreVoteRequest req) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
innerRun() |
runpublic PreVoteRequestHandlerTask(RaftNodeImpl raftNode, PreVoteRequest req)
protected void innerRun()
innerRun in class RaftNodeStatusAwareTaskCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.