| 限定符和类型 | 方法和说明 |
|---|---|
SnapshotWriter |
SaveSnapshotClosure.start(RaftOutter.SnapshotMeta meta)
Starts to save snapshot, returns the writer.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static com.google.protobuf.Parser<RaftOutter.SnapshotMeta> |
RaftOutter.SnapshotMeta.PARSER
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.Builder.build() |
RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.Builder.buildPartial() |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.getDefaultInstance() |
RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.getDefaultInstanceForType() |
RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.Builder.getDefaultInstanceForType() |
RaftOutter.SnapshotMeta |
LocalStorageOutter.LocalSnapshotPbMetaOrBuilder.getMeta()
optional .jraft.SnapshotMeta meta = 1; |
RaftOutter.SnapshotMeta |
LocalStorageOutter.LocalSnapshotPbMeta.getMeta()
optional .jraft.SnapshotMeta meta = 1; |
RaftOutter.SnapshotMeta |
LocalStorageOutter.LocalSnapshotPbMeta.Builder.getMeta()
optional .jraft.SnapshotMeta meta = 1; |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseDelimitedFrom(InputStream input) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(byte[] data) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(ByteBuffer data) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(com.google.protobuf.ByteString data) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(com.google.protobuf.CodedInputStream input) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(InputStream input) |
static RaftOutter.SnapshotMeta |
RaftOutter.SnapshotMeta.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.protobuf.Parser<RaftOutter.SnapshotMeta> |
RaftOutter.SnapshotMeta.getParserForType() |
static com.google.protobuf.Parser<RaftOutter.SnapshotMeta> |
RaftOutter.SnapshotMeta.parser() |
| 限定符和类型 | 方法和说明 |
|---|---|
RaftOutter.SnapshotMeta.Builder |
RaftOutter.SnapshotMeta.Builder.mergeFrom(RaftOutter.SnapshotMeta other) |
LocalStorageOutter.LocalSnapshotPbMeta.Builder |
LocalStorageOutter.LocalSnapshotPbMeta.Builder.mergeMeta(RaftOutter.SnapshotMeta value)
optional .jraft.SnapshotMeta meta = 1; |
static RaftOutter.SnapshotMeta.Builder |
RaftOutter.SnapshotMeta.newBuilder(RaftOutter.SnapshotMeta prototype) |
LocalStorageOutter.LocalSnapshotPbMeta.Builder |
LocalStorageOutter.LocalSnapshotPbMeta.Builder.setMeta(RaftOutter.SnapshotMeta value)
optional .jraft.SnapshotMeta meta = 1; |
| 限定符和类型 | 方法和说明 |
|---|---|
RaftOutter.SnapshotMeta |
RpcRequests.InstallSnapshotRequestOrBuilder.getMeta()
required .jraft.SnapshotMeta meta = 5; |
RaftOutter.SnapshotMeta |
RpcRequests.InstallSnapshotRequest.getMeta()
required .jraft.SnapshotMeta meta = 5; |
RaftOutter.SnapshotMeta |
RpcRequests.InstallSnapshotRequest.Builder.getMeta()
required .jraft.SnapshotMeta meta = 5; |
| 限定符和类型 | 方法和说明 |
|---|---|
RpcRequests.InstallSnapshotRequest.Builder |
RpcRequests.InstallSnapshotRequest.Builder.mergeMeta(RaftOutter.SnapshotMeta value)
required .jraft.SnapshotMeta meta = 5; |
RpcRequests.InstallSnapshotRequest.Builder |
RpcRequests.InstallSnapshotRequest.Builder.setMeta(RaftOutter.SnapshotMeta value)
required .jraft.SnapshotMeta meta = 5; |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LogManager.setSnapshot(RaftOutter.SnapshotMeta meta)
Notify the log manager about the latest snapshot, which indicates the
logs which can be safely truncated.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LogManagerImpl.setSnapshot(RaftOutter.SnapshotMeta meta) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract RaftOutter.SnapshotMeta |
SnapshotReader.load()
Load the snapshot metadata.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract boolean |
SnapshotWriter.saveMeta(RaftOutter.SnapshotMeta meta)
Save a snapshot metadata.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RaftOutter.SnapshotMeta |
LocalSnapshotMetaTable.getMeta()
Returns the snapshot metadata.
|
RaftOutter.SnapshotMeta |
LocalSnapshotReader.load() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
LocalSnapshotWriter.saveMeta(RaftOutter.SnapshotMeta meta) |
void |
LocalSnapshotMetaTable.setMeta(RaftOutter.SnapshotMeta meta)
Set the snapshot metadata.
|
Copyright © 2021. All rights reserved.