public class StatsFileReader extends DumpFileReader
Modifier and Type | Class and Description |
---|---|
(package private) static class |
StatsFileReader.CheckpointCounter |
(package private) class |
StatsFileReader.CheckpointInfoCSVFormatter |
(package private) class |
StatsFileReader.CheckpointInfoTextFormatter |
(package private) static class |
StatsFileReader.EntryInfo |
(package private) static class |
StatsFileReader.LogEntryTypeComparator |
FileReader.EOFException, FileReader.ReadWindow
targetTxnIds, verbose
cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window
Constructor and Description |
---|
StatsFileReader(EnvironmentImpl envImpl,
int readBufferSize,
long startLsn,
long finishLsn,
long endOfFileLsn,
java.lang.String entryTypes,
java.lang.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 |
processEntry(java.nio.ByteBuffer entryBuffer)
This reader collects stats about the log entry.
|
void |
summarize(boolean csvFormat) |
isTargetEntry
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, resyncReader, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntry, threadSafeBufferFlip, threadSafeBufferPosition, threadSafeBufferPosition
public StatsFileReader(EnvironmentImpl envImpl, int readBufferSize, long startLsn, long finishLsn, long endOfFileLsn, java.lang.String entryTypes, java.lang.String txnIds, boolean verbose, boolean repEntriesOnly, boolean forwards) throws DatabaseException
DatabaseException
protected boolean processEntry(java.nio.ByteBuffer entryBuffer)
processEntry
in class FileReader
entryBuffer
- contains the entry data and is positioned at the
datapublic void summarize(boolean csvFormat)
summarize
in class DumpFileReader
Copyright (c) 2004-2012 Oracle. All rights reserved.