|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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.
| Constructor Summary | |
|---|---|
DeletedDupLNLogEntry(boolean isTransactional)
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 | |
|---|---|
StringBuffer |
dumpEntry(StringBuffer sb,
boolean verbose)
Extends super class to dump out extra key. |
byte[] |
getDupKey()
Get the data-as-key out of the entry. |
int |
getLogSize()
Extend super class to add in extra key. |
void |
readEntry(ByteBuffer entryBuffer,
int entrySize,
byte entryTypeVersion,
boolean readFullItem)
Extends its super class to read in the extra dup key. |
void |
writeToLog(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, getLogType, getMainItem, getNodeId, getTransactionId, getTxnId, getUserTxn, isTransactional, marshallOutsideWriteLatch, postLogWork |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeletedDupLNLogEntry(boolean isTransactional)
public DeletedDupLNLogEntry(LogEntryType entryType,
LN ln,
DatabaseId dbId,
byte[] key,
byte[] dataAsKey,
long abortLsn,
boolean abortKnownDeleted,
Txn txn)
| Method Detail |
|---|
public void readEntry(ByteBuffer entryBuffer,
int entrySize,
byte entryTypeVersion,
boolean readFullItem)
throws DatabaseException
readEntry in interface LogEntryreadEntry in class LNLogEntryDatabaseExceptionLNLogEntry.readEntry(java.nio.ByteBuffer, int, byte, boolean)
public StringBuffer dumpEntry(StringBuffer sb,
boolean verbose)
dumpEntry in interface LogEntrydumpEntry in class LNLogEntryLNLogEntry.dumpEntry(java.lang.StringBuffer, boolean)public int getLogSize()
getLogSize in interface LogWritablegetLogSize in class LNLogEntryLNLogEntry.getLogSize()public void writeToLog(ByteBuffer destBuffer)
LogWritable
writeToLog in interface LogWritablewriteToLog in class LNLogEntrydestBuffer - is the destination bufferLNLogEntry.writeToLog(java.nio.ByteBuffer)public byte[] getDupKey()
getDupKey in class LNLogEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||