static class FeederReader.SwitchWindow extends FileReader.ReadWindow
endOffset, envImpl, fileManager, readBuffer, startOffset
Constructor and Description |
---|
FeederReader.SwitchWindow(int readBufferSize,
EnvironmentImpl envImpl) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
fillNext(boolean singleFile,
int bytesNeeded)
Fill up the read buffer with more data, moving along to the
following file (next largest number) if needed.
|
void |
slideAndFill(long windowFileNum,
long windowStartOffset,
long targetOffset,
boolean forward) |
adjustReadBufferSize, containsLsn, currentFileNum, fillFromFile, getEndOffset, initAtFileStart, positionBuffer, setFileNum, toString
FeederReader.SwitchWindow(int readBufferSize, EnvironmentImpl envImpl)
public void slideAndFill(long windowFileNum, long windowStartOffset, long targetOffset, boolean forward) throws ChecksumException, java.io.FileNotFoundException, DatabaseException
slideAndFill
in class FileReader.ReadWindow
ChecksumException
java.io.FileNotFoundException
DatabaseException
protected boolean fillNext(boolean singleFile, int bytesNeeded) throws ChecksumException, DatabaseException, FileReader.EOFException
fillNext
in class FileReader.ReadWindow
ChecksumException
DatabaseException
FileReader.EOFException
ReadWindow#fillNext
Copyright (c) 2004-2012 Oracle. All rights reserved.