A LogHandler represents snapshots and update records as serializable objects.
This class extends the functionality of the java.io.InputStream class in order to provide an input mechanism that can be used by processes that perform logging operations; in particular, processes that store state in order to provide persistence.
This class extends the functionality of the java.io.OutputStream class in order to provide an output mechanism that can be used by processes that perform logging operations; in particular, processes that store state in order to provide persistence.
This class is a simple implementation of a reliable Log.
This class can be used to represent all exceptional conditions that occur during any logging process.
ReliableLogclass writes serialized objects to a log file, where the objects represent change in state that must be recorded. After each object is logged, its data is forced to the disk. You can create snapshots that record the current state to disk, creating a new starting point for logging, and making previously logged changes obsolete. Such snapshots allow you to compress the log, making recovery more efficient in cases where the state is modified, not simply added to.
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.