GigaSpaces XAP 8.0 API

Package com.sun.jini.reliableLog

Reliable log is used to store state in case of system crash or reboot.

See:
          Description

Class Summary
LogHandler A LogHandler represents snapshots and update records as serializable objects.
LogInputStream 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.
LogOutputStream 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.
ReliableLog This class is a simple implementation of a reliable Log.
 

Exception Summary
LogException This class can be used to represent all exceptional conditions that occur during any logging process.
 

Package com.sun.jini.reliableLog Description

Reliable log is used to store state in case of system crash or reboot. A ReliableLog class 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.


GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.