public class TriggerLeaderElectionHandlerTask extends RaftNodeStatusAwareTask implements Runnable
TriggerLeaderElection
sent by LeadershipTransferTask
Initiates leader election by executing LeaderElectionTask
if this node accepts the requester as the leader and the local Raft log is
up-to-date with the leader's Raft log.
TriggerLeaderElection
logger, raftNode
Constructor and Description |
---|
TriggerLeaderElectionHandlerTask(RaftNodeImpl raftNode,
TriggerLeaderElection req) |
Modifier and Type | Method and Description |
---|---|
protected void |
innerRun() |
localMember, run
public TriggerLeaderElectionHandlerTask(RaftNodeImpl raftNode, TriggerLeaderElection req)
protected void innerRun()
innerRun
in class RaftNodeStatusAwareTask
Copyright © 2019 Hazelcast, Inc.. All rights reserved.