| Constructor and Description |
|---|
DeltaInfo()
For reading from the log only.
|
DeltaInfo(byte[] key,
long lsn,
byte state) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpLog(java.lang.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 |
logicalEquals(Loggable other) |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf.
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
DeltaInfo(byte[] key,
long lsn,
byte state)
DeltaInfo()
public 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.byte[] getKey()
byte getState()
boolean isKnownDeleted()
long getLsn()
Copyright (c) 2004,2008 Oracle. All rights reserved.