| Package | Description |
|---|---|
| com.alipay.sofa.jraft | |
| com.alipay.sofa.jraft.core | |
| com.alipay.sofa.jraft.option |
| Modifier and Type | Method and Description |
|---|---|
NodeOptions |
Node.getOptions()
Get the node options.
|
| Modifier and Type | Method and Description |
|---|---|
static Node |
RaftServiceFactory.createAndInitRaftNode(String groupId,
PeerId serverId,
NodeOptions opts)
Create and initialize a raft node with node options.
|
SnapshotStorage |
JRaftServiceFactory.createSnapshotStorage(NodeOptions nodeOptions)
Creates a raft snapshot storage
|
void |
RaftGroupService.setNodeOptions(NodeOptions nodeOptions)
Set node options.
|
| Constructor and Description |
|---|
RaftGroupService(String groupId,
PeerId serverId,
NodeOptions nodeOptions) |
RaftGroupService(String groupId,
PeerId serverId,
NodeOptions nodeOptions,
RpcServer rpcServer) |
RaftGroupService(String groupId,
PeerId serverId,
NodeOptions nodeOptions,
RpcServer rpcServer,
boolean sharedRpcServer) |
| Modifier and Type | Method and Description |
|---|---|
NodeOptions |
NodeImpl.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
SnapshotStorage |
DefaultJRaftServiceFactory.createSnapshotStorage(NodeOptions nodeOptions) |
boolean |
NodeImpl.init(NodeOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
NodeOptions |
NodeOptions.copy() |
NodeOptions |
SnapshotCopierOptions.getNodeOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotCopierOptions.setNodeOptions(NodeOptions nodeOptions) |
| Constructor and Description |
|---|
SnapshotCopierOptions(String groupId,
RaftClientService raftClientService,
Scheduler timerManager,
RaftOptions raftOptions,
NodeOptions nodeOptions) |
Copyright © 2024. All rights reserved.