Package | Description |
---|---|
org.apache.zookeeper.server.persistence |
Modifier and Type | Method | Description |
---|---|---|
long |
FileTxnSnapLog.fastForwardFromEdits(DataTree dt,
java.util.Map<java.lang.Long,java.lang.Integer> sessions,
FileTxnSnapLog.PlayBackListener listener) |
This function will fast forward the server database to have the latest
transactions in it.
|
long |
FileTxnSnapLog.restore(DataTree dt,
java.util.Map<java.lang.Long,java.lang.Integer> sessions,
FileTxnSnapLog.PlayBackListener listener) |
this function restores the server
database after reading from the
snapshots and transaction logs
|
Copyright © 2018 The Apache Software Foundation