Interface JournalFileReader
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
SplitJournalFileReader
public interface JournalFileReader extends java.io.Closeable
TheJournalFile
reader. It reads the journal file backwards, starting from the last written line.The implementation doesn't need to be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
readLine()
Read the line from the journal, using LIFO strategy (last in, first out).
-