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 Loggable
public void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
logBuffer
- is the destination bufferpublic void readFromLog(java.nio.ByteBuffer itemBuffer, int entryVersion)
Loggable
readFromLog
in interface Loggable
public void dumpLog(java.lang.StringBuilder sb, boolean verbose)
Loggable
public long getTransactionId()
getTransactionId
in interface Loggable
Loggable.getTransactionId()
public boolean logicalEquals(Loggable other)
logicalEquals
in interface Loggable
Always 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.