Package | Description |
---|---|
com.hazelcast.cp.internal.raft.impl.handler |
Contains request/response handler tasks.
|
com.hazelcast.cp.internal.raft.impl.task |
Contains tasks running on leader or leader-candidates.
|
Modifier and Type | Class and Description |
---|---|
class |
LeaderElectionTask
LeaderElectionTask is scheduled when current leader is null, unreachable
or unknown by
PreVoteResponseHandlerTask after a follower receives
votes from at least majority. |
class |
LeaderElectionTimeoutTask
LeaderElectionTimeoutTask is scheduled by
LeaderElectionTask
to trigger leader election again if one is not elected after
leader election timeout. |
class |
PreVoteTask
PreVoteTask is scheduled when current leader is null, unreachable
or unknown.
|
class |
PreVoteTimeoutTask
PreVoteTimeoutTask is scheduled by
PreVoteTask to trigger pre-voting
again if this node is still a follower and a leader is not available after
leader election timeout. |
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.