| 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() |
(package private) int |
getNumDeltas() |
long |
getTransactionId() |
boolean |
logicalEquals(Loggable other) |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
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()
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)
LoggablewriteToLog in interface LoggablelogBuffer - is the destination bufferpublic void readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
throws LogException
LoggablereadFromLog in interface LoggableLogExceptionpublic void dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Loggablepublic long getTransactionId()
getTransactionId in interface LoggableLoggable.getTransactionId()public boolean logicalEquals(Loggable other)
logicalEquals in interface LoggableAlways return false, this item should never be compared.Copyright (c) 2004,2008 Oracle. All rights reserved.