public interface LogEntry
extends java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
LogEntry |
clone() |
java.lang.StringBuilder |
dumpEntry(java.lang.StringBuilder sb,
boolean verbose)
Print out the contents of an entry.
|
void |
dumpRep(java.lang.StringBuilder sb)
Dump the contents of the log entry that are interesting for
replication.
|
DatabaseId |
getDbId() |
int |
getLastLoggedSize() |
LogEntryType |
getLogType() |
java.lang.Object |
getMainItem() |
java.lang.Object |
getResolvedItem(DatabaseImpl dbImpl)
Construct a complete item from a item entry, fetching additional log
entries as needed.
|
int |
getSize() |
long |
getTransactionId() |
boolean |
isDeleted()
Returns true if this item should be counted as obsolete when logged.
|
boolean |
logicalEquals(LogEntry other) |
void |
postLogWork(LogEntryHeader header,
long justLoggedLsn)
Do any processing we need to do after logging, while under the logging
latch.
|
void |
readEntry(EnvironmentImpl envImpl,
LogEntryHeader header,
java.nio.ByteBuffer entryBuffer)
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(EnvironmentImpl envImpl, LogEntryHeader header, java.nio.ByteBuffer entryBuffer)
java.lang.StringBuilder dumpEntry(java.lang.StringBuilder sb, boolean verbose)
java.lang.Object getMainItem()
java.lang.Object getResolvedItem(DatabaseImpl dbImpl)
DatabaseId getDbId()
long getTransactionId()
int getSize()
int getLastLoggedSize()
void writeEntry(LogEntryHeader header, java.nio.ByteBuffer logBuffer)
logBuffer
- is the destination bufferboolean isDeleted()
void postLogWork(LogEntryHeader header, long justLoggedLsn)
LogEntry clone()
boolean logicalEquals(LogEntry other)
void dumpRep(java.lang.StringBuilder sb)
Copyright (c) 2004-2012 Oracle. All rights reserved.