public interface JournalInputStream extends AutoCloseable
Journal.JournalEntry
from journal checkpoints and journal logs.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream.
|
long |
getLatestSequenceNumber() |
Journal.JournalEntry |
read()
Reads the next journal entry.
|
Journal.JournalEntry read() throws IOException
Journal.JournalEntry
in the stream, or null if the are no more entriesIOException
void close() throws IOException
close
in interface AutoCloseable
IOException
long getLatestSequenceNumber()
Copyright © 2023. All Rights Reserved.