Package | Description |
---|---|
com.hazelcast.cp.internal.operation |
Contains operations for the Raft Invocation SPI
|
com.hazelcast.cp.internal.raft |
Contains abstractions that are defined
for the core Raft algorithm implementation
|
com.hazelcast.cp.internal.raft.impl |
Contains implementation classes of the Raft algorithm
|
com.hazelcast.cp.internal.raft.impl.command |
Contains
RaftGroupCmd
implementations that are used by the core Raft algorithm implementation |
com.hazelcast.cp.internal.raft.impl.task |
Contains tasks running on leader or leader-candidates.
|
Constructor and Description |
---|
ChangeRaftGroupMembershipOp(CPGroupId groupId,
long membersCommitIndex,
CPMemberInfo member,
MembershipChangeMode membershipChangeMode) |
Modifier and Type | Method and Description |
---|---|
static MembershipChangeMode |
MembershipChangeMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembershipChangeMode[] |
MembershipChangeMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ICompletableFuture |
RaftNodeImpl.replicateMembershipChange(Endpoint member,
MembershipChangeMode mode) |
ICompletableFuture |
RaftNode.replicateMembershipChange(Endpoint member,
MembershipChangeMode mode)
Replicates the membership change to the Raft group.
|
ICompletableFuture |
RaftNodeImpl.replicateMembershipChange(Endpoint member,
MembershipChangeMode mode,
long groupMembersCommitIndex) |
ICompletableFuture |
RaftNode.replicateMembershipChange(Endpoint member,
MembershipChangeMode mode,
long groupMembersCommitIndex)
Replicates the membership change to the Raft group, if expected members
commit index is equal to the actual one stored in Raft state.
|
Modifier and Type | Method and Description |
---|---|
MembershipChangeMode |
UpdateRaftGroupMembersCmd.getMode() |
Constructor and Description |
---|
UpdateRaftGroupMembersCmd(Collection<Endpoint> members,
Endpoint member,
MembershipChangeMode mode) |
Constructor and Description |
---|
MembershipChangeTask(RaftNodeImpl raftNode,
SimpleCompletableFuture resultFuture,
Endpoint member,
MembershipChangeMode membershipChangeMode) |
MembershipChangeTask(RaftNodeImpl raftNode,
SimpleCompletableFuture resultFuture,
Endpoint member,
MembershipChangeMode membershipChangeMode,
Long groupMembersCommitIndex) |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.