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() |
protected boolean |
processEntry(java.nio.ByteBuffer entryBuffer)
This reader instantiates the first object of a given log entry
|
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, resyncReader, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntry, threadSafeBufferFlip, threadSafeBufferPosition, threadSafeBufferPositionpublic CheckpointFileReader(EnvironmentImpl env, int readBufferSize, boolean forward, long startLsn, long finishLsn, long endOfFileLsn) throws DatabaseException
DatabaseExceptionprotected boolean isTargetEntry()
isTargetEntry in class FileReaderprotected boolean processEntry(java.nio.ByteBuffer entryBuffer)
processEntry in class FileReaderentryBuffer - contains the entry data and is positioned at the
datapublic boolean isDbTree()
public boolean isCheckpointEnd()
public boolean isCheckpointStart()
Copyright (c) 2004-2012 Oracle. All rights reserved.