public abstract class DumpFileReader extends FileReader
FileReader.EOFException, FileReader.ReadWindow| Modifier and Type | Field and Description |
|---|---|
protected boolean |
verbose |
cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window| Constructor and Description |
|---|
DumpFileReader(EnvironmentImpl env,
int readBufferSize,
long startLsn,
long finishLsn,
long endOfFileLsn,
String entryTypes,
String dbIds,
String txnIds,
boolean verbose,
boolean repEntriesOnly,
boolean forwards)
Create this reader to start at a given LSN.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTargetEntry()
This method is called by readNextEntry() after the header of the current
logrec has been de-serialized, but not the body.
|
protected boolean |
matchEntry(LogEntry entry) |
protected boolean |
needMatchEntry() |
void |
summarize(boolean ignore) |
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getLastVlsn, getLogVersion, getNRepeatIteratorReads, getNumRead, handleGapInBackwardsScan, initStartingPosition, makeWindow, processEntry, readNextEntry, readNextEntryAllowExceptions, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntrypublic DumpFileReader(EnvironmentImpl env, int readBufferSize, long startLsn, long finishLsn, long endOfFileLsn, String entryTypes, String dbIds, String txnIds, boolean verbose, boolean repEntriesOnly, boolean forwards) throws DatabaseException
DatabaseExceptionprotected boolean needMatchEntry()
protected boolean matchEntry(LogEntry entry)
protected boolean isTargetEntry()
FileReaderisTargetEntry in class FileReaderpublic void summarize(boolean ignore)
ignore - Copyright © 2024. All rights reserved.