public class UtilizationFileReader extends FileReader
anticipateChecksumErrors, cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, nextEntryOffset, readBufferFileEnd, readBufferFileNum, readBufferFileStart, startLsn| Modifier and Type | Method and Description |
|---|---|
static java.util.Map |
calcFileSummaryMap(EnvironmentImpl env)
Creates a UtilizationReader, reads the log, and returns the resulting
Map of Long file number to FileSummary.
|
protected boolean |
isTargetEntry(byte logEntryTypeNumber,
byte logEntryTypeVersion) |
protected boolean |
processEntry(java.nio.ByteBuffer entryBuffer)
Each file reader implements this method to process the entry data.
|
getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, readNextEntry, resyncReader, setAlwaysValidateChecksumprotected boolean isTargetEntry(byte logEntryTypeNumber,
byte logEntryTypeVersion)
isTargetEntry in class FileReaderprotected boolean processEntry(java.nio.ByteBuffer entryBuffer)
throws DatabaseException
FileReaderprocessEntry in class FileReaderDatabaseExceptionpublic static java.util.Map calcFileSummaryMap(EnvironmentImpl env) throws java.io.IOException, DatabaseException
java.io.IOExceptionDatabaseException