public class FileHeaderEntry extends SingleItemEntry
Constructor and Description |
---|
FileHeaderEntry(java.lang.Class<?> logClass)
Construct a log entry for reading.
|
FileHeaderEntry(LogEntryType entryType,
Loggable item)
Construct a log entry for writing.
|
Modifier and Type | Method and Description |
---|---|
void |
readEntry(EnvironmentImpl envImpl,
LogEntryHeader header,
java.nio.ByteBuffer entryBuffer)
For a file header, the version is not available until after reading the
item.
|
dumpEntry, dumpRep, getDbId, getMainItem, getSize, getTransactionId, logicalEquals, writeEntry
clone, getLastLoggedSize, getLogType, getNoArgsConstructor, getResolvedItem, isDeleted, newInstanceOfType, newInstanceOfType, postFetchInit, postLogWork, setLogType, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getLastLoggedSize, getLogType, getResolvedItem, isDeleted, postLogWork, setLogType
public FileHeaderEntry(java.lang.Class<?> logClass)
public FileHeaderEntry(LogEntryType entryType, Loggable item)
public void readEntry(EnvironmentImpl envImpl, LogEntryHeader header, java.nio.ByteBuffer entryBuffer)
readEntry
in interface LogEntry
readEntry
in class SingleItemEntry
LogEntry.readEntry(com.sleepycat.je.dbi.EnvironmentImpl, com.sleepycat.je.log.LogEntryHeader, java.nio.ByteBuffer)
Copyright (c) 2004-2012 Oracle. All rights reserved.