Constructor and Description |
---|
BINDelta()
For instantiating from the log.
|
BINDelta(BIN bin)
Read a BIN and create the deltas.
|
Modifier and Type | Method and Description |
---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
DatabaseId |
getDbId() |
long |
getLastFullLsn() |
int |
getLogSize() |
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.
|
public BINDelta(BIN bin)
public BINDelta()
public DatabaseId getDbId()
public long getLastFullLsn()
public BIN reconstituteBIN(EnvironmentImpl env) throws DatabaseException
DatabaseException
public int getLogSize()
getLogSize
in interface Loggable
public void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
logBuffer
- is the destination bufferpublic void readFromLog(java.nio.ByteBuffer itemBuffer, byte entryTypeVersion) throws LogException
Loggable
readFromLog
in interface Loggable
LogException
public void dumpLog(java.lang.StringBuffer sb, boolean verbose)
Loggable
public long getTransactionId()
getTransactionId
in interface Loggable
Loggable.getTransactionId()