|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.tree.INDeleteInfo
public class INDeleteInfo
INDeleteInfo encapsulates the information logged about the removal of a child from an IN during IN compression.
Constructor Summary | |
---|---|
INDeleteInfo()
Used by logging system only. |
|
INDeleteInfo(long deletedNodeId,
byte[] deletedIdKey,
DatabaseId dbId)
Create a new delete info entry. |
Method Summary | |
---|---|
void |
dumpLog(StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
DatabaseId |
getDatabaseId()
|
byte[] |
getDeletedIdKey()
|
long |
getDeletedNodeId()
|
int |
getLogSize()
|
long |
getTransactionId()
|
void |
optionalLog(LogManager logManager,
DatabaseImpl dbImpl)
|
void |
readFromLog(ByteBuffer itemBuffer,
byte entryTypeVersion)
Initialize this object from the data in itemBuf. |
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public INDeleteInfo(long deletedNodeId, byte[] deletedIdKey, DatabaseId dbId)
public INDeleteInfo()
Method Detail |
---|
public long getDeletedNodeId()
public byte[] getDeletedIdKey()
public DatabaseId getDatabaseId()
public void optionalLog(LogManager logManager, DatabaseImpl dbImpl) throws DatabaseException
DatabaseException
public int getLogSize()
getLogSize
in interface Loggable
Loggable.getLogSize()
public void writeToLog(ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
logBuffer
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer itemBuffer, byte entryTypeVersion) throws LogException
Loggable
readFromLog
in interface Loggable
LogException
Loggable.readFromLog(java.nio.ByteBuffer, byte)
public void dumpLog(StringBuffer sb, boolean verbose)
Loggable
dumpLog
in interface Loggable
sb
- destination string bufferverbose
- if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuffer, boolean)
public long getTransactionId()
getTransactionId
in interface Loggable
Loggable.getTransactionId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |