| 类 | 说明 |
|---|---|
| Ballot |
A ballot to vote.
|
| Ballot.PosHint | |
| Ballot.UnfoundPeerId | |
| EnumOutter | |
| LeaderChangeContext |
The leader change context, contains:
leaderId: the leader peer id.
|
| LocalFileMetaOutter | |
| LocalFileMetaOutter.LocalFileMeta |
Protobuf type
jraft.LocalFileMeta |
| LocalFileMetaOutter.LocalFileMeta.Builder |
Protobuf type
jraft.LocalFileMeta |
| LocalStorageOutter | |
| LocalStorageOutter.ConfigurationPBMeta |
Protobuf type
jraft.ConfigurationPBMeta |
| LocalStorageOutter.ConfigurationPBMeta.Builder |
Protobuf type
jraft.ConfigurationPBMeta |
| LocalStorageOutter.LocalSnapshotPbMeta |
Protobuf type
jraft.LocalSnapshotPbMeta |
| LocalStorageOutter.LocalSnapshotPbMeta.Builder |
Protobuf type
jraft.LocalSnapshotPbMeta |
| LocalStorageOutter.LocalSnapshotPbMeta.File |
Protobuf type
jraft.LocalSnapshotPbMeta.File |
| LocalStorageOutter.LocalSnapshotPbMeta.File.Builder |
Protobuf type
jraft.LocalSnapshotPbMeta.File |
| LocalStorageOutter.LogPBMeta |
Protobuf type
jraft.LogPBMeta |
| LocalStorageOutter.LogPBMeta.Builder |
Protobuf type
jraft.LogPBMeta |
| LocalStorageOutter.StablePBMeta |
Protobuf type
jraft.StablePBMeta |
| LocalStorageOutter.StablePBMeta.Builder |
Protobuf type
jraft.StablePBMeta |
| LogEntry |
A replica log entry.
|
| LogId |
Log identifier.
|
| NodeId |
A raft node identifier.
|
| PeerId |
Represent a participant in a replicating group.
|
| RaftOutter | |
| RaftOutter.EntryMeta |
Protobuf type
jraft.EntryMeta |
| RaftOutter.EntryMeta.Builder |
Protobuf type
jraft.EntryMeta |
| RaftOutter.SnapshotMeta |
Protobuf type
jraft.SnapshotMeta |
| RaftOutter.SnapshotMeta.Builder |
Protobuf type
jraft.SnapshotMeta |
| ReadIndexState |
ReadIndex state
|
| ReadIndexStatus |
ReadIndex requests statuses.
|
| Task |
Basic message structure of jraft, contains:
data: associated task data
done: task closure, called when the data is successfully committed to the raft group.
|
| UserLog |
User log entry.
|
| 枚举 | 说明 |
|---|---|
| EnumOutter.EntryType |
Protobuf enum
jraft.EntryType |
| EnumOutter.ErrorType |
Protobuf enum
jraft.ErrorType |
| LocalFileMetaOutter.FileSource |
Protobuf enum
jraft.FileSource |
Copyright © 2021. All rights reserved.