| 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.StringBuilder 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) long |
getMemorySize()
Returns the number of bytes occupied by this object.
|
(package private) byte |
getState() |
long |
getTransactionId() |
(package private) boolean |
isKnownDeleted() |
boolean |
logicalEquals(Loggable other) |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
int 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)
public 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,
int entryVersion)
LoggablereadFromLog in interface Loggablepublic void dumpLog(java.lang.StringBuilder 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()
long getMemorySize()
Copyright (c) 2004-2012 Oracle. All rights reserved.