@NotThreadSafe public class UfsJournalReader extends Object implements JournalReader
JournalReader
based on UFS.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.
|
public boolean isValid()
JournalReader
isValid
in interface JournalReader
public JournalInputStream getCheckpointInputStream() throws IOException
JournalReader
JournalInputStream
for the journal checkpoint. This must be called before
calling JournalReader.getNextInputStream()
.getCheckpointInputStream
in interface JournalReader
JournalInputStream
for the journal checkpointIOException
public JournalInputStream getNextInputStream() throws IOException
getNextInputStream
in interface JournalReader
IOException
public long getCheckpointLastModifiedTimeMs() throws IOException
getCheckpointLastModifiedTimeMs
in interface JournalReader
IOException
Copyright © 2023. All Rights Reserved.