public abstract class Snapshot extends Status
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
JRAFT_SNAPSHOT_META_FILE
Snapshot metadata file name.
|
static String |
JRAFT_SNAPSHOT_PREFIX
Snapshot file prefix.
|
static String |
REMOTE_SNAPSHOT_URI_SCHEME
Snapshot uri scheme for remote peer
|
| 构造器和说明 |
|---|
Snapshot() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract com.google.protobuf.Message |
getFileMeta(String fileName)
Get file meta by fileName.
|
abstract String |
getPath()
Get the path of the Snapshot
|
abstract 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, toStringCopyright © 2021. All rights reserved.