public class CheckpointFileReader extends FileReader
FileReader.EOFException, FileReader.ReadWindowcksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window| Constructor and Description |
|---|
CheckpointFileReader(EnvironmentImpl env,
int readBufferSize,
boolean forward,
long startLsn,
long finishLsn,
long endOfFileLsn)
Create this reader to start at a given LSN.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCheckpointEnd() |
boolean |
isCheckpointStart() |
boolean |
isDbTree() |
protected boolean |
isTargetEntry()
This method is called by readNextEntry() after the header of the current
logrec has been de-serialized, but not the body.
|
protected boolean |
processEntry(ByteBuffer entryBuffer)
This reader instantiates the first object of a given log entry
|
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getLastVlsn, getLogVersion, getNRepeatIteratorReads, getNumRead, handleGapInBackwardsScan, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntrypublic CheckpointFileReader(EnvironmentImpl env, int readBufferSize, boolean forward, long startLsn, long finishLsn, long endOfFileLsn) throws DatabaseException
DatabaseExceptionprotected boolean isTargetEntry()
FileReaderisTargetEntry in class FileReaderprotected boolean processEntry(ByteBuffer entryBuffer)
processEntry in class FileReaderentryBuffer - A ByteBuffer that the logrec data and is positioned
at the start of the logrec body (i.e., just after the logrec header).public boolean isDbTree()
public boolean isCheckpointEnd()
public boolean isCheckpointStart()
Copyright © 2024. All rights reserved.