Interface JournalFileReader
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
SplitJournalFileReader
The
JournalFile
reader. It reads the journal file backwards, starting
from the last written line.
The implementation doesn't need to be thread-safe.
-
Method Summary
-
Method Details
-
readLine
Read the line from the journal, using LIFO strategy (last in, first out).- Returns:
- the journal record
- Throws:
IOException
-