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
,
PreVoteTask
logger, raftNode
Constructor and Description |
---|
PreVoteRequestHandlerTask(RaftNodeImpl raftNode,
PreVoteRequest req) |
Modifier and Type | Method and Description |
---|---|
protected void |
innerRun() |
run
public PreVoteRequestHandlerTask(RaftNodeImpl raftNode, PreVoteRequest req)
protected void innerRun()
innerRun
in class RaftNodeStatusAwareTask
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.