|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.recovery.CheckpointEnd
public class CheckpointEnd
CheckpointEnd encapsulates the information needed by a checkpoint end log entry.
| Constructor Summary | |
|---|---|
CheckpointEnd()
|
|
CheckpointEnd(java.lang.String invoker,
long checkpointStartLsn,
long rootLsn,
long firstActiveLsn,
long lastLocalNodeId,
long lastReplicatedNodeId,
int lastLocalDbId,
int lastReplicatedDbId,
long lastLocalTxnId,
long lastReplicatedTxnId,
long id)
|
|
| Method Summary | |
|---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
(package private) long |
getCheckpointStartLsn()
|
(package private) long |
getFirstActiveLsn()
|
(package private) long |
getId()
|
(package private) int |
getLastLocalDbId()
|
(package private) long |
getLastLocalNodeId()
|
(package private) long |
getLastLocalTxnId()
|
(package private) int |
getLastReplicatedDbId()
|
(package private) long |
getLastReplicatedNodeId()
|
(package private) long |
getLastReplicatedTxnId()
|
int |
getLogSize()
|
(package private) long |
getRootLsn()
|
long |
getTransactionId()
|
boolean |
logicalEquals(Loggable other)
|
void |
readFromLog(java.nio.ByteBuffer logBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf. |
java.lang.String |
toString()
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CheckpointEnd(java.lang.String invoker,
long checkpointStartLsn,
long rootLsn,
long firstActiveLsn,
long lastLocalNodeId,
long lastReplicatedNodeId,
int lastLocalDbId,
int lastReplicatedDbId,
long lastLocalTxnId,
long lastReplicatedTxnId,
long id)
public CheckpointEnd()
| Method Detail |
|---|
public int getLogSize()
getLogSize in interface LoggableLoggable.getLogSize()public void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog in interface LoggablelogBuffer - is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(java.nio.ByteBuffer logBuffer,
byte entryVersion)
throws LogException
Loggable
readFromLog in interface LoggableLogExceptionLoggable.readFromLog(java.nio.ByteBuffer, byte)
public void dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Loggable
dumpLog in interface Loggablesb - destination string bufferverbose - if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuffer, boolean)public long getTransactionId()
getTransactionId in interface LoggableLoggable.getTransactionId()public boolean logicalEquals(Loggable other)
logicalEquals in interface LoggableAlways return false, this item should never be compared.public java.lang.String toString()
toString in class java.lang.Objectlong getCheckpointStartLsn()
long getRootLsn()
long getFirstActiveLsn()
long getLastLocalNodeId()
long getLastReplicatedNodeId()
int getLastLocalDbId()
int getLastReplicatedDbId()
long getLastLocalTxnId()
long getLastReplicatedTxnId()
long getId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||