public class VLSNDistributionReader extends DumpFileReader
FileReader.EOFException, FileReader.ReadWindow
targetTxnIds, verbose
cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window
Constructor and Description |
---|
VLSNDistributionReader(EnvironmentImpl envImpl,
int readBufferSize,
long startLsn,
long finishLsn,
long endOfFileLsn,
boolean verbose,
boolean forwards)
Create this reader to start at a given LSN.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
processEntry(java.nio.ByteBuffer entryBuffer)
Count the number of vlsns in the file, along with the first and last
vlsn.
|
void |
summarize(boolean csvFormat) |
isTargetEntry
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, resyncReader, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntry, threadSafeBufferFlip, threadSafeBufferPosition, threadSafeBufferPosition
public VLSNDistributionReader(EnvironmentImpl envImpl, int readBufferSize, long startLsn, long finishLsn, long endOfFileLsn, boolean verbose, boolean forwards) throws DatabaseException
DatabaseException
protected boolean processEntry(java.nio.ByteBuffer entryBuffer)
processEntry
in class FileReader
entryBuffer
- contains the entry data and is positioned at the
datapublic void summarize(boolean csvFormat)
summarize
in class DumpFileReader
Copyright (c) 2004-2012 Oracle. All rights reserved.