Package | Description |
---|---|
com.hazelcast.cp.internal |
Contains implementation of the CP subsystem
|
com.hazelcast.cp.internal.operation.integration |
Contains Hazelcast operations that carry out Raft RPCs
|
com.hazelcast.cp.internal.raft.impl |
Contains implementation classes of the Raft algorithm
|
com.hazelcast.cp.internal.raft.impl.handler |
Contains request/response handler tasks.
|
com.hazelcast.cp.internal.raft.impl.state |
Contains classes that keep state of Raft nodes
|
Modifier and Type | Method and Description |
---|---|
void |
RaftService.handleVoteRequest(CPGroupId groupId,
VoteRequest request,
CPMember target) |
Constructor and Description |
---|
VoteRequestOp(CPGroupId groupId,
VoteRequest voteRequest) |
Modifier and Type | Method and Description |
---|---|
void |
RaftNodeImpl.handleVoteRequest(VoteRequest request) |
void |
RaftNode.handleVoteRequest(VoteRequest request)
Handles
VoteRequest sent by a candidate. |
void |
RaftNodeImpl.send(VoteRequest request,
Endpoint target) |
boolean |
RaftIntegration.send(VoteRequest request,
Endpoint target)
Sends the
VoteRequest to target endpoint to be handled by
its RaftNode.handleVoteRequest(VoteRequest) . |
Constructor and Description |
---|
VoteRequestHandlerTask(RaftNodeImpl raftNode,
VoteRequest req) |
Modifier and Type | Method and Description |
---|---|
VoteRequest |
RaftState.toCandidate()
Switches this node to candidate role.
|
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.