public class StatsFileReader extends DumpFileReader
targetTxnIds, verbose
anticipateChecksumErrors, cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, nextEntryOffset, readBufferFileEnd, readBufferFileNum, readBufferFileStart, startLsn
Constructor and Description |
---|
StatsFileReader(EnvironmentImpl envImpl,
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 |
processEntry(java.nio.ByteBuffer entryBuffer)
This reader collects stats about the log entry.
|
void |
summarize() |
isTargetEntry
getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, readNextEntry, resyncReader, setAlwaysValidateChecksum
public StatsFileReader(EnvironmentImpl envImpl, 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 processEntry(java.nio.ByteBuffer entryBuffer) throws DatabaseException
processEntry
in class FileReader
DatabaseException
public void summarize()
summarize
in class DumpFileReader