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.
|
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 |
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, postLogWorkgetLogType, setLogType, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLogType, setLogTypepublic 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 LogEntryreadEntry in class LNLogEntryDatabaseExceptionLNLogEntry.readEntry(com.sleepycat.je.log.LogEntryHeader, java.nio.ByteBuffer, boolean)public java.lang.StringBuffer dumpEntry(java.lang.StringBuffer sb,
boolean verbose)
dumpEntry in interface LogEntrydumpEntry in class LNLogEntryLNLogEntry.dumpEntry(java.lang.StringBuffer, boolean)public int getSize()
getSize in interface LogEntrygetSize in class LNLogEntryLNLogEntry.getSize()public void writeEntry(LogEntryHeader header, java.nio.ByteBuffer destBuffer)
LogEntrywriteEntry in interface LogEntrywriteEntry in class LNLogEntrydestBuffer - is the destination bufferLogEntry#writeToLogpublic byte[] getDupKey()
getDupKey in class LNLogEntryCopyright (c) 2004,2008 Oracle. All rights reserved.