Class ControlFile
java.lang.Object
org.apache.activeio.journal.active.ControlFile
Control file holds the last known good state of the journal. It stores the state in
record that is versioned and repeated twice in the file so that a failure in the
middle of the write of the first or second record do not not result in an unknown
state.
- Version:
- $Revision: 1.1 $
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ControlFile
- Throws:
IOException
-
-
Method Details
-
lock
Locks the control file.- Throws:
IOException
-
unlock
Un locks the control file.- Throws:
IOException
-
load
- Throws:
IOException
-
store
- Throws:
IOException
-
getControlData
-
dispose
public void dispose()
-