Package | Description |
---|---|
com.hazelcast.cp.internal.raft.impl |
Contains implementation classes of the Raft algorithm
|
com.hazelcast.cp.internal.raft.impl.task |
Contains tasks running on leader or leader-candidates.
|
Modifier and Type | Method and Description |
---|---|
SimpleCompletableFuture |
RaftIntegration.newCompletableFuture()
Creates a new instance of
SimpleCompletableFuture . |
Modifier and Type | Method and Description |
---|---|
void |
RaftNodeImpl.registerFuture(long entryIndex,
SimpleCompletableFuture future)
Registers the future for the appended entry with its
entryIndex . |
void |
RaftNodeImpl.runQueryOperation(Object operation,
SimpleCompletableFuture resultFuture)
Executes query operation sets execution result to the future.
|
Constructor and Description |
---|
MembershipChangeTask(RaftNodeImpl raftNode,
SimpleCompletableFuture resultFuture,
Endpoint member,
MembershipChangeMode membershipChangeMode) |
MembershipChangeTask(RaftNodeImpl raftNode,
SimpleCompletableFuture resultFuture,
Endpoint member,
MembershipChangeMode membershipChangeMode,
Long groupMembersCommitIndex) |
QueryTask(RaftNodeImpl raftNode,
Object operation,
QueryPolicy policy,
SimpleCompletableFuture resultFuture) |
ReplicateTask(RaftNodeImpl raftNode,
Object operation,
SimpleCompletableFuture resultFuture) |
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.