public class UtilizationFileReader extends FileReader
FileReader.EOFException, FileReader.ReadWindow
cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.Long,FileSummary> |
calcFileSummaryMap(EnvironmentImpl envImpl)
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.
|
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, resyncReader, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntry, threadSafeBufferFlip, threadSafeBufferPosition, threadSafeBufferPosition
protected boolean isTargetEntry()
isTargetEntry
in class FileReader
protected boolean processEntry(java.nio.ByteBuffer entryBuffer) throws DatabaseException
FileReader
processEntry
in class FileReader
entryBuffer
- contains the entry data and is positioned at the
dataDatabaseException
public static java.util.Map<java.lang.Long,FileSummary> calcFileSummaryMap(EnvironmentImpl envImpl)
Copyright (c) 2004-2012 Oracle. All rights reserved.