public class DeletedDupLNLogEntry extends LNLogEntry
LNLogEntry.DupStatus
MIN_LOG_SIZE
Constructor and Description |
---|
DeletedDupLNLogEntry()
Constructor to read an entry.
|
Modifier and Type | Method and Description |
---|---|
(package private) byte[] |
combineDupKeyData()
Combine old key and old LN's data into a new key, and set the LN's data
to empty.
|
java.lang.StringBuilder |
dumpEntry(java.lang.StringBuilder sb,
boolean verbose)
Extends super class to dump out extra key.
|
int |
getSize()
Extend super class to add in extra key.
|
void |
readEntry(EnvironmentImpl envImpl,
LogEntryHeader header,
java.nio.ByteBuffer entryBuffer)
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.
|
dumpRep, getAbortKnownDeleted, getAbortLsn, getBaseLNEntrySize, getDbId, getKey, getLastLoggedSize, getLN, getMainItem, getTransactionId, getTxnId, getUnconvertedDataLength, getUnconvertedKeyLength, getUserKeyData, getUserTxn, isDeleted, logicalEquals, newLNInstance, postFetchInit, postFetchInit, postLogWork, readBaseLNEntry, writeBaseLNEntry
clone, getLogType, getNoArgsConstructor, getResolvedItem, newInstanceOfType, newInstanceOfType, setLogType, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getLogType, getResolvedItem, setLogType
byte[] combineDupKeyData()
LNLogEntry
combineDupKeyData
in class LNLogEntry
public void readEntry(EnvironmentImpl envImpl, LogEntryHeader header, java.nio.ByteBuffer entryBuffer)
readEntry
in interface LogEntry
readEntry
in class LNLogEntry
LNLogEntry.readEntry(com.sleepycat.je.dbi.EnvironmentImpl, com.sleepycat.je.log.LogEntryHeader, java.nio.ByteBuffer)
public java.lang.StringBuilder dumpEntry(java.lang.StringBuilder sb, boolean verbose)
dumpEntry
in interface LogEntry
dumpEntry
in class LNLogEntry
LNLogEntry.dumpEntry(java.lang.StringBuilder, 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
Copyright (c) 2004-2012 Oracle. All rights reserved.