public class VLSNDistributionReader extends DumpFileReader
FileReader.EOFException, FileReader.ReadWindowverbosecksumValidator, 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(ByteBuffer entryBuffer)
Count the number of vlsns in the file, along with the first and last
vlsn.
|
void |
summarize(boolean csvFormat) |
isTargetEntry, matchEntry, needMatchEntryentryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getLastVlsn, getLogVersion, getNRepeatIteratorReads, getNumRead, handleGapInBackwardsScan, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntrypublic VLSNDistributionReader(EnvironmentImpl envImpl, int readBufferSize, long startLsn, long finishLsn, long endOfFileLsn, boolean verbose, boolean forwards) throws DatabaseException
DatabaseExceptionprotected boolean processEntry(ByteBuffer entryBuffer)
processEntry in class FileReaderentryBuffer - A ByteBuffer that the logrec data and is positioned
at the start of the logrec body (i.e., just after the logrec header).public void summarize(boolean csvFormat)
summarize in class DumpFileReaderCopyright © 2024. All rights reserved.