|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.tree.BINDelta
public class BINDelta
BINDelta contains the information needed to create a partial (delta) BIN log entry. It also knows how to combine a full BIN log entry and a delta to generate a new BIN.
| Constructor Summary | |
|---|---|
BINDelta()
For instantiating from the log. |
|
BINDelta(BIN bin)
Read a BIN and create the deltas. |
|
| Method Summary | |
|---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
DatabaseId |
getDbId()
|
long |
getLastFullLsn()
|
int |
getLogSize()
|
(package private) int |
getNumDeltas()
|
long |
getTransactionId()
|
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryTypeVersion)
Initialize this object from the data in itemBuf. |
BIN |
reconstituteBIN(EnvironmentImpl env)
Create a BIN by starting with the full version and applying the deltas. |
void |
writeToLog(java.nio.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 BINDelta(BIN bin)
public BINDelta()
| Method Detail |
|---|
int getNumDeltas()
public DatabaseId getDbId()
public long getLastFullLsn()
public BIN reconstituteBIN(EnvironmentImpl env)
throws DatabaseException
DatabaseExceptionpublic int getLogSize()
getLogSize in interface Loggablepublic void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog in interface LoggablelogBuffer - is the destination buffer
public void readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryTypeVersion)
throws LogException
Loggable
readFromLog in interface LoggableLogException
public void dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Loggable
dumpLog in interface Loggablesb - destination string bufferverbose - if true, dump the full, verbose versionpublic long getTransactionId()
getTransactionId in interface LoggableLoggable.getTransactionId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||