public abstract class DumpFileReader extends FileReader
Modifier and Type | Field and Description |
---|---|
protected java.util.Set |
targetTxnIds |
protected boolean |
verbose |
anticipateChecksumErrors, cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, nextEntryOffset, readBufferFileEnd, readBufferFileNum, readBufferFileStart, startLsn
Constructor and Description |
---|
DumpFileReader(EnvironmentImpl env,
int readBufferSize,
long startLsn,
long finishLsn,
java.lang.String entryTypes,
java.lang.String txnIds,
boolean verbose)
Create this reader to start at a given LSN.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isTargetEntry(byte logEntryTypeNumber,
byte logEntryTypeVersion) |
void |
summarize() |
getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, processEntry, readNextEntry, resyncReader, setAlwaysValidateChecksum
public DumpFileReader(EnvironmentImpl env, int readBufferSize, long startLsn, long finishLsn, java.lang.String entryTypes, java.lang.String txnIds, boolean verbose) throws java.io.IOException, DatabaseException
java.io.IOException
DatabaseException
protected boolean isTargetEntry(byte logEntryTypeNumber, byte logEntryTypeVersion)
isTargetEntry
in class FileReader
public void summarize()