public class UtilizationFileReader extends FileReader
FileReader.EOFException, FileReader.ReadWindowcksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, forward, logger, nextEntryOffset, startLsn, window| Modifier and Type | Method and Description |
|---|---|
static Map<Long,FileSummary> |
calcFileSummaryMap(EnvironmentImpl envImpl)
Creates a UtilizationReader, reads the log, and returns the resulting
Map of Long file number to FileSummary.
|
static Map<Long,FileSummary> |
calcFileSummaryMap(EnvironmentImpl envImpl,
long startLsn,
long finishLsn) |
protected boolean |
isTargetEntry()
This method is called by readNextEntry() after the header of the current
logrec has been de-serialized, but not the body.
|
protected boolean |
processEntry(ByteBuffer entryBuffer)
Each file reader implements this method to process the entry data.
|
entryIsReplicated, getAndResetNReads, getLastEntrySize, getLastLsn, getLastVlsn, getLogVersion, getNRepeatIteratorReads, getNumRead, handleGapInBackwardsScan, initStartingPosition, makeWindow, readNextEntry, readNextEntryAllowExceptions, setAlwaysValidateChecksum, setBackwardPosition, setForwardPosition, skipData, skipEntryprotected boolean isTargetEntry()
FileReaderisTargetEntry in class FileReaderprotected boolean processEntry(ByteBuffer entryBuffer) throws DatabaseException
FileReaderprocessEntry in class FileReaderentryBuffer - A ByteBuffer that the logrec data and is positioned
at the start of the logrec body (i.e., just after the logrec header).DatabaseExceptionpublic static Map<Long,FileSummary> calcFileSummaryMap(EnvironmentImpl envImpl)
public static Map<Long,FileSummary> calcFileSummaryMap(EnvironmentImpl envImpl, long startLsn, long finishLsn)
Copyright © 2024. All rights reserved.