|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.utilint.VLSN
public class VLSN
Field Summary | |
---|---|
static int |
LOG_SIZE
|
Constructor Summary | |
---|---|
VLSN()
Constructor for VLSNs that are read from disk. |
|
VLSN(int generationId,
int environmentId,
long sequence)
|
Method Summary | |
---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
int |
getContentSize()
|
int |
getLogSize()
|
long |
getTransactionId()
|
void |
readFromBuffer(java.nio.ByteBuffer buffer)
BOZO, remove this |
void |
readFromLog(java.nio.ByteBuffer buffer,
byte entryTypeVersion)
Initialize this object from the data in itemBuf. |
void |
writeToBuffer(java.nio.ByteBuffer buffer)
|
void |
writeToLog(java.nio.ByteBuffer buffer)
Serialize this object into the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOG_SIZE
Constructor Detail |
---|
public VLSN(int generationId, int environmentId, long sequence)
public VLSN()
Method Detail |
---|
public int getLogSize()
getLogSize
in interface Loggable
Loggable.getLogSize()
public void writeToLog(java.nio.ByteBuffer buffer)
Loggable
writeToLog
in interface Loggable
buffer
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(java.nio.ByteBuffer buffer, byte entryTypeVersion) throws LogException
Loggable
readFromLog
in interface Loggable
LogException
Loggable.writeToLog(java.nio.ByteBuffer)
public void dumpLog(java.lang.StringBuffer sb, boolean verbose)
Loggable
dumpLog
in interface Loggable
sb
- destination string bufferverbose
- if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuffer, boolean)
public long getTransactionId()
getTransactionId
in interface Loggable
Loggable.getTransactionId()
public int getContentSize()
public void writeToBuffer(java.nio.ByteBuffer buffer)
buffer
- is the destination bufferpublic void readFromBuffer(java.nio.ByteBuffer buffer) throws LogException
LogException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |