public class SnapshotManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SNAPSHOT_DATA_FILE |
static String |
SNAPSHOT_DIR_PREFIX |
static String |
SNAPSHOT_META_FILE |
static String |
SNAPSHOT_TEMP_DIR |
| Constructor and Description |
|---|
SnapshotManager(DLedgerServer dLedgerServer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoadingSnapshot() |
boolean |
isSavingSnapshot() |
void |
loadSnapshot() |
void |
saveSnapshot(DLedgerEntry dLedgerEntry) |
public static final String SNAPSHOT_META_FILE
public static final String SNAPSHOT_DATA_FILE
public static final String SNAPSHOT_DIR_PREFIX
public static final String SNAPSHOT_TEMP_DIR
public SnapshotManager(DLedgerServer dLedgerServer)
public boolean isSavingSnapshot()
public boolean isLoadingSnapshot()
public void saveSnapshot(DLedgerEntry dLedgerEntry)
public void loadSnapshot()
Copyright © 2022. All rights reserved.