public class INLogEntry extends BaseEntry implements LogEntry, INContainingEntry
IN
database id
obsolete LSN -- in version 2
(version 6)
database id
obsolete LSN
IN
| Constructor and Description |
|---|
INLogEntry(java.lang.Class<? extends IN> INClass)
Construct a log entry for reading.
|
INLogEntry(IN in)
Construct a log entry for writing to the log.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
dumpEntry(java.lang.StringBuilder sb,
boolean verbose)
Print out the contents of an entry.
|
void |
dumpRep(java.lang.StringBuilder sb)
Never replicated.
|
DatabaseId |
getDbId() |
IN |
getIN(DatabaseImpl dbImpl) |
java.lang.Object |
getMainItem() |
long |
getNodeId() |
long |
getPrevDeltaLsn() |
long |
getPrevFullLsn() |
int |
getSize() |
long |
getTransactionId() |
boolean |
logicalEquals(LogEntry other) |
void |
readEntry(EnvironmentImpl envImpl,
LogEntryHeader header,
java.nio.ByteBuffer entryBuffer)
Read in an IN entry.
|
void |
writeEntry(LogEntryHeader header,
java.nio.ByteBuffer destBuffer)
Serialize this object into the buffer.
|
clone, getLastLoggedSize, getLogType, getNoArgsConstructor, getResolvedItem, isDeleted, newInstanceOfType, newInstanceOfType, postFetchInit, postLogWork, setLogType, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getLastLoggedSize, getLogType, getResolvedItem, isDeleted, postLogWork, setLogTypepublic INLogEntry(java.lang.Class<? extends IN> INClass)
public INLogEntry(IN in)
public void readEntry(EnvironmentImpl envImpl, LogEntryHeader header, java.nio.ByteBuffer entryBuffer)
public long getPrevFullLsn()
getPrevFullLsn in interface INContainingEntrypublic long getPrevDeltaLsn()
getPrevDeltaLsn in interface INContainingEntrypublic java.lang.StringBuilder dumpEntry(java.lang.StringBuilder sb,
boolean verbose)
public void dumpRep(java.lang.StringBuilder sb)
public java.lang.Object getMainItem()
getMainItem in interface LogEntrypublic long getTransactionId()
getTransactionId in interface LogEntryLogEntry.getTransactionId()public int getSize()
public void writeEntry(LogEntryHeader header, java.nio.ByteBuffer destBuffer)
LogEntrywriteEntry in interface LogEntrydestBuffer - is the destination bufferLogEntry.writeEntry(com.sleepycat.je.log.LogEntryHeader, java.nio.ByteBuffer)public IN getIN(DatabaseImpl dbImpl)
getIN in interface INContainingEntrypublic long getNodeId()
public DatabaseId getDbId()
getDbId in interface INContainingEntrygetDbId in interface LogEntryINContainingEntry.getDbId()public boolean logicalEquals(LogEntry other)
logicalEquals in interface LogEntryINs from two different environments are never considered equal,
because they have lsns that are environment-specific.Copyright (c) 2004-2012 Oracle. All rights reserved.