public class FeederSyncupReader extends VLSNReader
FileReader.EOFException, FileReader.ReadWindowcurrentFeedRecord, currentVLSN, nReposition, nScanned, vlsnIndexcksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window| Constructor and Description |
|---|
FeederSyncupReader(EnvironmentImpl envImpl,
VLSNIndex vlsnIndex,
long endOfLogLsn,
int readBufferSize,
NameIdPair nameIdPair,
VLSN startVLSN,
long finishLsn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTargetEntry() |
protected boolean |
processEntry(java.nio.ByteBuffer entryBuffer)
Instantiate a WireRecord to house this log entry.
|
OutputWireRecord |
scanBackwards(VLSN vlsn)
Backward scanning for records for the feeder's part in syncup.
|
getNReposition, getNScanned, resetStats, setPositionentryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, resyncReader, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntrypublic FeederSyncupReader(EnvironmentImpl envImpl, VLSNIndex vlsnIndex, long endOfLogLsn, int readBufferSize, NameIdPair nameIdPair, VLSN startVLSN, long finishLsn) throws java.io.IOException, DatabaseException
java.io.IOExceptionDatabaseExceptionpublic OutputWireRecord scanBackwards(VLSN vlsn) throws java.io.FileNotFoundException, ChecksumException
ChecksumExceptionjava.io.FileNotFoundExceptionprotected boolean isTargetEntry()
throws DatabaseException
isTargetEntry in class FileReaderDatabaseException - from subclasses.protected boolean processEntry(java.nio.ByteBuffer entryBuffer)
processEntry in class VLSNReaderentryBuffer - contains the entry data and is positioned at the
dataCopyright (c) 2004-2012 Oracle. All rights reserved.