Package | Description |
---|---|
com.hazelcast.cp.internal |
Contains implementation of CP Subsystem
|
com.hazelcast.cp.internal.raft.impl |
Contains implementation classes of the Raft algorithm
|
com.hazelcast.cp.internal.raft.impl.persistence | |
com.hazelcast.cp.internal.raft.impl.state |
Contains classes that keep state of Raft nodes
|
Modifier and Type | Method and Description |
---|---|
RaftNodeImpl |
RaftService.restoreRaftNode(RaftGroupId groupId,
RestoredRaftState restoredState,
LogFileStructure logFileStructure) |
Modifier and Type | Method and Description |
---|---|
static RaftNodeImpl |
RaftNodeImpl.restoreRaftNode(CPGroupId groupId,
RestoredRaftState restoredState,
RaftAlgorithmConfig config,
RaftIntegration integration)
Creates a new Raft node with restored Raft state
|
static RaftNodeImpl |
RaftNodeImpl.restoreRaftNode(CPGroupId groupId,
RestoredRaftState restoredState,
RaftAlgorithmConfig config,
RaftIntegration integration,
RaftStateStore raftStateStore)
Creates a new Raft node with restored Raft state
and a
RaftStateStore to persist Raft state changes |
Modifier and Type | Method and Description |
---|---|
RestoredRaftState |
RaftStateLoader.load()
Restores the persisted Raft state from the storage layer and returns
a fully initialized
RestoredRaftState object. |
Modifier and Type | Method and Description |
---|---|
static RaftState |
RaftState.restoreRaftState(CPGroupId groupId,
RestoredRaftState restoredState,
int logCapacity) |
static RaftState |
RaftState.restoreRaftState(CPGroupId groupId,
RestoredRaftState restoredState,
int logCapacity,
RaftStateStore stateStore) |
Copyright © 2019 Hazelcast, Inc.. All rights reserved.