Class LogFile
java.lang.Object
org.apache.activeio.journal.active.LogFile
Allows read/append access to a LogFile.
- Version:
- $Revision: 1.1 $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddispose()voidforce()booleanloadAndCheckRecord(int offset, Record record) voidread(int offset, byte[] answer) voidreadRecordHeader(int offset, Record record) voidresize()voidwrite(int offset, ByteBuffer buffer)
-
Constructor Details
-
LogFile
- Throws:
IOException
-
-
Method Details
-
loadAndCheckRecord
- Throws:
IOException
-
resize
- Throws:
IOException
-
force
- Throws:
IOException
-
dispose
public void dispose() -
write
- Throws:
IOException
-
readRecordHeader
- Throws:
IOException
-
read
- Throws:
IOException
-
copyTo
- Throws:
IOException
-