public abstract static class LogFile.SequentialReader extends Object
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected RandomAccessFile |
getFileHandle() |
protected KeyProvider |
getKeyProvider() |
long |
getPosition() |
LogRecord |
next() |
protected void |
setLastCheckpointPosition(long lastCheckpointPosition) |
protected void |
setLastCheckpointWriteOrderID(long lastCheckpointWriteOrderID) |
protected void |
setLogFileID(int logFileID) |
protected void |
setPreviousCheckpointPosition(long backupCheckpointPosition) |
protected void |
setPreviousCheckpointWriteOrderID(long backupCheckpointWriteOrderID) |
protected void setLastCheckpointPosition(long lastCheckpointPosition)
protected void setLastCheckpointWriteOrderID(long lastCheckpointWriteOrderID)
protected void setPreviousCheckpointPosition(long backupCheckpointPosition)
protected void setPreviousCheckpointWriteOrderID(long backupCheckpointWriteOrderID)
protected void setLogFileID(int logFileID)
protected KeyProvider getKeyProvider()
protected RandomAccessFile getFileHandle()
public LogRecord next() throws IOException, CorruptEventException
IOException
CorruptEventException
public long getPosition() throws IOException
IOException
public void close()
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.