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<java.lang.Long,FileSummary> |
calcFileSummaryMap(EnvironmentImpl env)
Creates a UtilizationReader, reads the log, and returns the resulting
Map of Long file number to FileSummary.
|
protected boolean |
isTargetEntry() |
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, setAlwaysValidateChecksum
protected boolean isTargetEntry()
isTargetEntry
in class FileReader
protected boolean processEntry(java.nio.ByteBuffer entryBuffer) throws DatabaseException
FileReader
processEntry
in class FileReader
DatabaseException
public static java.util.Map<java.lang.Long,FileSummary> calcFileSummaryMap(EnvironmentImpl env) throws java.io.IOException, DatabaseException
java.io.IOException
DatabaseException