public class CheckpointFileReader extends FileReader
anticipateChecksumErrors, cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, nextEntryOffset, readBufferFileEnd, readBufferFileNum, readBufferFileStart, startLsn| 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 |
isRoot() |
protected boolean |
isTargetEntry() |
protected boolean |
processEntry(java.nio.ByteBuffer entryBuffer)
This reader instantiate the first object of a given log entry
|
getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, readNextEntry, resyncReader, setAlwaysValidateChecksum, threadSafeBufferPosition, threadSafeBufferPositionpublic CheckpointFileReader(EnvironmentImpl env, int readBufferSize, boolean forward, long startLsn, long finishLsn, long endOfFileLsn) throws java.io.IOException, DatabaseException
java.io.IOExceptionDatabaseExceptionprotected boolean isTargetEntry()
isTargetEntry in class FileReaderprotected boolean processEntry(java.nio.ByteBuffer entryBuffer)
throws DatabaseException
processEntry in class FileReaderDatabaseExceptionpublic boolean isRoot()
public boolean isCheckpointEnd()
public boolean isCheckpointStart()
Copyright (c) 2004,2008 Oracle. All rights reserved.