public class StatsFileReader extends DumpFileReader
targetTxnIds, verboseanticipateChecksumErrors, 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() |
isTargetEntrygetAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, readNextEntry, resyncReader, setAlwaysValidateChecksumpublic 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.IOExceptionDatabaseExceptionprotected boolean processEntry(java.nio.ByteBuffer entryBuffer)
throws DatabaseException
processEntry in class FileReaderDatabaseExceptionpublic void summarize()
summarize in class DumpFileReader