@NotThreadSafe public interface JournalReader
Modifier and Type | Method and Description |
---|---|
JournalInputStream |
getCheckpointInputStream()
Gets the
JournalInputStream for the journal checkpoint. |
long |
getCheckpointLastModifiedTimeMs() |
JournalInputStream |
getNextInputStream() |
boolean |
isValid()
Checks to see if the journal checkpoint has not been updated.
|
boolean isValid()
JournalInputStream getCheckpointInputStream() throws IOException
JournalInputStream
for the journal checkpoint. This must be called before
calling getNextInputStream()
.JournalInputStream
for the journal checkpointIOException
JournalInputStream getNextInputStream() throws IOException
IOException
long getCheckpointLastModifiedTimeMs() throws IOException
IOException
Copyright © 2023. All Rights Reserved.