public class TxnLogToolkit extends Object implements Closeable
| Constructor and Description |
|---|
TxnLogToolkit(boolean recoveryMode,
boolean verbose,
String txnLogFileName,
boolean force) |
TxnLogToolkit(String txnLogFileName,
String zxidName) |
| Modifier and Type | Method and Description |
|---|---|
void |
chop() |
void |
close() |
void |
dump(Scanner scanner) |
boolean |
isDumpMode() |
static void |
main(String[] args) |
public TxnLogToolkit(boolean recoveryMode,
boolean verbose,
String txnLogFileName,
boolean force)
throws FileNotFoundException,
org.apache.zookeeper.server.persistence.TxnLogToolkit.TxnLogToolkitException
public TxnLogToolkit(String txnLogFileName, String zxidName) throws org.apache.zookeeper.server.persistence.TxnLogToolkit.TxnLogToolkitException
public static void main(String[] args) throws Exception
args - Command line argumentsExceptionpublic void chop()
public boolean isDumpMode()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.