Package | Description |
---|---|
com.hazelcast.cp.internal |
Contains implementation of 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,
RaftEndpoint 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,
RaftEndpoint target) |
boolean |
RaftIntegration.send(VoteRequest request,
RaftEndpoint target)
Sends the given
VoteRequest DTO to target endpoint
to be handled via RaftNode.handleVoteRequest(VoteRequest) . |
Constructor and Description |
---|
VoteRequestHandlerTask(RaftNodeImpl raftNode,
VoteRequest req) |
Modifier and Type | Method and Description |
---|---|
VoteRequest |
RaftState.toCandidate(boolean disruptive)
Switches this node to candidate role.
|
Copyright © 2019 Hazelcast, Inc.. All rights reserved.