public class DeletedDupLNLogEntry extends LNLogEntry
Constructor and Description |
---|
DeletedDupLNLogEntry()
Constructor to read an entry.
|
DeletedDupLNLogEntry(LogEntryType entryType,
LN ln,
DatabaseId dbId,
byte[] key,
byte[] dataAsKey,
long abortLsn,
boolean abortKnownDeleted,
Txn txn)
Constructor to make an object that can write this entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
dumpEntry(java.lang.StringBuffer sb,
boolean verbose)
Extends super class to dump out extra key.
|
byte[] |
getDupKey()
Get the data-as-key out of the entry.
|
LogEntryType |
getLogType() |
int |
getSize()
Extend super class to add in extra key.
|
void |
readEntry(LogEntryHeader header,
java.nio.ByteBuffer entryBuffer,
boolean readFullItem)
Extends its super class to read in the extra dup key.
|
void |
setLogType(LogEntryType entryType)
Inform a BaseEntry instance of its corresponding LogEntryType.
|
java.lang.String |
toString() |
void |
writeEntry(LogEntryHeader header,
java.nio.ByteBuffer destBuffer)
Serialize this object into the buffer.
|
clone, countAsObsoleteWhenLogged, getAbortKnownDeleted, getAbortLsn, getDbId, getKey, getLastLoggedSize, getLN, getMainItem, getNodeId, getTransactionId, getTxnId, getUserTxn, logicalEquals, postLogWork
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLogType, setLogType
public DeletedDupLNLogEntry()
public DeletedDupLNLogEntry(LogEntryType entryType, LN ln, DatabaseId dbId, byte[] key, byte[] dataAsKey, long abortLsn, boolean abortKnownDeleted, Txn txn)
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)
LogEntry
writeEntry
in interface LogEntry
writeEntry
in class LNLogEntry
destBuffer
- is the destination bufferLogEntry#writeToLog
public byte[] getDupKey()
getDupKey
in class LNLogEntry
public void setLogType(LogEntryType entryType)
public LogEntryType getLogType()
public java.lang.String toString()
toString
in class java.lang.Object