JRAFT_SNAPSHOT_META_FILE, JRAFT_SNAPSHOT_PREFIX, REMOTE_SNAPSHOT_URI_SCHEME| 构造器和说明 |
|---|
LocalSnapshot(RaftOptions raftOptions) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.protobuf.Message |
getFileMeta(String fileName)
Get file meta by fileName.
|
LocalSnapshotMetaTable |
getMetaTable() |
String |
getPath()
Get the path of the Snapshot
|
Set<String> |
listFiles()
List all the existing files in the Snapshot currently
|
copy, equals, getCode, getErrorMsg, getRaftError, hashCode, isOk, OK, reset, setCode, setError, setError, setErrorMsg, toStringpublic LocalSnapshot(RaftOptions raftOptions)
public LocalSnapshotMetaTable getMetaTable()
public com.google.protobuf.Message getFileMeta(String fileName)
SnapshotgetFileMeta 在类中 SnapshotCopyright © 2021. All rights reserved.