public abstract class SnapshotReader extends Snapshot implements Closeable, Lifecycle<Void>
JRAFT_SNAPSHOT_META_FILE, JRAFT_SNAPSHOT_PREFIX, REMOTE_SNAPSHOT_URI_SCHEME| Constructor and Description |
|---|
SnapshotReader() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
generateURIForCopy()
Generate uri for other peers to copy this snapshot.
|
abstract RaftOutter.SnapshotMeta |
load()
Load the snapshot metadata.
|
getFileMeta, getPath, listFilescopy, equals, getCode, getErrorMsg, getRaftError, hashCode, isOk, OK, reset, setCode, setError, setError, setErrorMsg, toStringpublic abstract RaftOutter.SnapshotMeta load()
public abstract String generateURIForCopy()
Copyright © 2024. All rights reserved.