|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.tree.DeltaInfo
public class DeltaInfo
DeltaInfo holds the delta for one BIN entry in a partial BIN log entry. The data here is all that we need to update a BIN to its proper state.
| Constructor Summary | |
|---|---|
DeltaInfo()
For reading from the log only. |
|
DeltaInfo(byte[] key,
long lsn,
byte state)
|
|
| Method Summary | |
|---|---|
void |
dumpLog(StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
(package private) byte[] |
getKey()
|
int |
getLogSize()
|
(package private) long |
getLsn()
|
(package private) byte |
getState()
|
long |
getTransactionId()
|
(package private) boolean |
isKnownDeleted()
|
boolean |
logEntryIsTransactional()
|
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 |
|---|
DeltaInfo(byte[] key,
long lsn,
byte state)
DeltaInfo()
| Method Detail |
|---|
public int getLogSize()
getLogSize in interface LogWritablepublic void writeToLog(ByteBuffer logBuffer)
LogWritable
writeToLog in interface LogWritablelogBuffer - is the destination buffer
public void readFromLog(ByteBuffer itemBuffer,
byte entryTypeVersion)
throws LogException
LogReadable
readFromLog in interface LogReadableLogException
public void dumpLog(StringBuffer sb,
boolean verbose)
LogReadable
dumpLog in interface LogReadablesb - destination string bufferverbose - if true, dump the full, verbose versionpublic boolean logEntryIsTransactional()
logEntryIsTransactional in interface LogReadableLogReadable.logEntryIsTransactional()public long getTransactionId()
getTransactionId in interface LogReadableLogReadable.getTransactionId()byte[] getKey()
byte getState()
boolean isKnownDeleted()
long getLsn()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||