private class NormServerBaseImpl.OurLogHandler extends LogHandler
LogHandler used by NormServerBaseImpl| Modifier | Constructor and Description |
|---|---|
private |
OurLogHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyUpdate(Object update)
Reads a stably logged update (a serializable object) from a stream.
|
void |
recover(InputStream in)
Read the snapshot from a stream.
|
void |
snapshot(OutputStream out)
Writes the snapshot to a stream.
|
readUpdate, writeUpdatepublic void snapshot(OutputStream out) throws Exception
LogHandlersnapshot in class LogHandlerout - the output streamException - can raise any exceptionpublic void recover(InputStream in) throws Exception
LogHandlerrecover in class LogHandlerin - the input streamException - can raise any exceptionpublic void applyUpdate(Object update) throws Exception
LogHandlerapplyUpdate in class LogHandlerupdate - the update objectException - can raise any exceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.