|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.log.entry.BaseEntry
com.sleepycat.je.log.entry.LNLogEntry
com.sleepycat.je.log.entry.DeletedDupLNLogEntry
public class DeletedDupLNLogEntry
DupDeletedLNEntry encapsulates a deleted dupe LN entry. This contains all the regular transactional LN log entry fields and an extra key, which is the nulled out data field of the LN (which becomes the key in the duplicate tree.
Field Summary |
---|
Fields inherited from class com.sleepycat.je.log.entry.BaseEntry |
---|
entryType, logClass |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.sleepycat.je.log.entry.LNLogEntry |
---|
clone, countAsObsoleteWhenLogged, getAbortKnownDeleted, getAbortLsn, getDbId, getKey, getLN, getMainItem, getNodeId, getTransactionId, getTxnId, getUserTxn, postLogWork, setLastLoggedSize |
Methods inherited from class com.sleepycat.je.log.entry.BaseEntry |
---|
getLogType, setLogType |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sleepycat.je.log.entry.LogEntry |
---|
getLogType, setLogType |
Constructor Detail |
---|
public DeletedDupLNLogEntry()
public DeletedDupLNLogEntry(LogEntryType entryType, LN ln, DatabaseId dbId, byte[] key, byte[] dataAsKey, long abortLsn, boolean abortKnownDeleted, Txn txn)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |