public interface LogEntry
extends java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
countAsObsoleteWhenLogged()
Returns true if this item should be counted as obsoleted when logged.
|
java.lang.StringBuffer |
dumpEntry(java.lang.StringBuffer sb,
boolean verbose)
Print out the contents of an entry.
|
int |
getLastLoggedSize() |
LogEntryType |
getLogType() |
java.lang.Object |
getMainItem() |
int |
getSize() |
long |
getTransactionId() |
boolean |
logicalEquals(LogEntry other) |
void |
postLogWork(long justLoggedLsn)
Do any processing we need to do after logging, while under the logging
latch.
|
void |
readEntry(LogEntryHeader header,
java.nio.ByteBuffer entryBuffer,
boolean readFullItem)
Read in a log entry.
|
void |
setLogType(LogEntryType entryType)
Inform a LogEntry instance of its corresponding LogEntryType.
|
void |
writeEntry(LogEntryHeader header,
java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
void setLogType(LogEntryType entryType)
LogEntryType getLogType()
void readEntry(LogEntryHeader header, java.nio.ByteBuffer entryBuffer, boolean readFullItem) throws DatabaseException
DatabaseExceptionjava.lang.StringBuffer dumpEntry(java.lang.StringBuffer sb,
boolean verbose)
java.lang.Object getMainItem()
long getTransactionId()
int getSize()
int getLastLoggedSize()
void writeEntry(LogEntryHeader header, java.nio.ByteBuffer logBuffer)
logBuffer - is the destination bufferboolean countAsObsoleteWhenLogged()
void postLogWork(long justLoggedLsn)
throws DatabaseException
DatabaseExceptionjava.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionboolean logicalEquals(LogEntry other)
Copyright (c) 2004,2008 Oracle. All rights reserved.