public class NameLNLogEntry extends LNLogEntry
Constructor and Description |
---|
NameLNLogEntry()
Constructor to read an entry.
|
NameLNLogEntry(LogEntryType entryType,
NameLN nameLN,
DatabaseId dbId,
byte[] key,
long abortLsn,
boolean abortKnownDeleted,
Txn txn,
ReplicationContext repContext)
Constructor to write this entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
dumpEntry(java.lang.StringBuffer sb,
boolean verbose)
Extends its super class to dump database operation information.
|
LogEntryType |
getLogType() |
DbOperationType |
getOperationType() |
ReplicatedDatabaseConfig |
getReplicatedCreateConfig() |
int |
getSize()
Extends its super class to add in database operation information.
|
DatabaseId |
getTruncateOldDbId() |
boolean |
logicalEquals(LogEntry other) |
void |
readEntry(LogEntryHeader header,
java.nio.ByteBuffer entryBuffer,
boolean readFullItem)
Extends its super class to read in database operation information.
|
void |
setLogType(LogEntryType entryType)
Inform a BaseEntry instance of its corresponding LogEntryType.
|
java.lang.String |
toString() |
void |
writeEntry(LogEntryHeader header,
java.nio.ByteBuffer destBuffer)
Extends its super class to add in database operation information.
|
clone, countAsObsoleteWhenLogged, getAbortKnownDeleted, getAbortLsn, getDbId, getDupKey, getKey, getLastLoggedSize, getLN, getMainItem, getNodeId, getTransactionId, getTxnId, getUserTxn, postLogWork
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLogType, setLogType
public NameLNLogEntry()
public NameLNLogEntry(LogEntryType entryType, NameLN nameLN, DatabaseId dbId, byte[] key, long abortLsn, boolean abortKnownDeleted, Txn txn, ReplicationContext repContext)
public void readEntry(LogEntryHeader header, java.nio.ByteBuffer entryBuffer, boolean readFullItem) throws DatabaseException
readEntry
in interface LogEntry
readEntry
in class LNLogEntry
DatabaseException
LNLogEntry.readEntry(com.sleepycat.je.log.LogEntryHeader, java.nio.ByteBuffer, boolean)
public java.lang.StringBuffer dumpEntry(java.lang.StringBuffer sb, boolean verbose)
dumpEntry
in interface LogEntry
dumpEntry
in class LNLogEntry
LNLogEntry.dumpEntry(java.lang.StringBuffer, boolean)
public int getSize()
getSize
in interface LogEntry
getSize
in class LNLogEntry
LNLogEntry.getSize()
public void writeEntry(LogEntryHeader header, java.nio.ByteBuffer destBuffer)
writeEntry
in interface LogEntry
writeEntry
in class LNLogEntry
destBuffer
- is the destination bufferLogEntry#writeToLog
public boolean logicalEquals(LogEntry other)
logicalEquals
in interface LogEntry
logicalEquals
in class LNLogEntry
LogEntry.logicalEquals(com.sleepycat.je.log.entry.LogEntry)
public DbOperationType getOperationType()
public ReplicatedDatabaseConfig getReplicatedCreateConfig()
public DatabaseId getTruncateOldDbId()
public void setLogType(LogEntryType entryType)
public LogEntryType getLogType()
public java.lang.String toString()
toString
in class java.lang.Object