Package | Description |
---|---|
org.apache.zookeeper.server.persistence |
Modifier and Type | Method and Description |
---|---|
long |
FileTxnSnapLog.fastForwardFromEdits(DataTree dt,
Map<Long,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,
Map<Long,Integer> sessions,
FileTxnSnapLog.PlayBackListener listener)
this function restores the server
database after reading from the
snapshots and transaction logs
|
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.