@InterfaceAudience.Public public class SnapshotFormatter extends Object
| Constructor and Description |
|---|
SnapshotFormatter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
USAGE: SnapshotFormatter snapshot_file or the ready-made script: zkSnapShotToolkit.sh
|
void |
run(String snapshotFileName,
boolean dumpData,
boolean dumpJson) |
public static void main(String[] args) throws Exception
Exceptionpublic void run(String snapshotFileName, boolean dumpData, boolean dumpJson) throws IOException
IOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.