JRAFT_SNAPSHOT_META_FILE, JRAFT_SNAPSHOT_PREFIX, REMOTE_SNAPSHOT_URI_SCHEME| Constructor and Description |
|---|
LocalSnapshot(RaftOptions raftOptions) |
| Modifier and Type | Method and Description |
|---|---|
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 String getPath()
Snapshotpublic com.google.protobuf.Message getFileMeta(String fileName)
SnapshotgetFileMeta in class SnapshotCopyright © 2024. All rights reserved.