|
|||||||||
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(String invoker,
long checkpointStartLsn,
long rootLsn,
long firstActiveLsn,
long lastLocalNodeId,
long lastReplicatedNodeId,
long lastLocalDbId,
long lastReplicatedDbId,
long lastLocalTxnId,
long lastReplicatedTxnId,
long id,
boolean cleanedFilesToDelete,
CleanerLogSummary cleanerLogSummary)
|
Method Summary | |
---|---|
void |
dumpLog(StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
(package private) long |
getCheckpointStartLsn()
|
boolean |
getCleanedFilesToDelete()
|
CleanerLogSummary |
getCleanerLogSummary()
|
(package private) long |
getFirstActiveLsn()
|
long |
getId()
|
String |
getInvoker()
|
(package private) long |
getLastLocalDbId()
|
(package private) long |
getLastLocalNodeId()
|
(package private) long |
getLastLocalTxnId()
|
(package private) long |
getLastReplicatedDbId()
|
(package private) long |
getLastReplicatedNodeId()
|
(package private) long |
getLastReplicatedTxnId()
|
int |
getLogSize()
|
(package private) long |
getRootLsn()
|
long |
getTransactionId()
|
boolean |
logicalEquals(Loggable other)
|
void |
readFromLog(ByteBuffer logBuffer,
int entryVersion)
Initialize this object from the data in itemBuf. |
String |
toString()
|
void |
writeToLog(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(String invoker, long checkpointStartLsn, long rootLsn, long firstActiveLsn, long lastLocalNodeId, long lastReplicatedNodeId, long lastLocalDbId, long lastReplicatedDbId, long lastLocalTxnId, long lastReplicatedTxnId, long id, boolean cleanedFilesToDelete, CleanerLogSummary cleanerLogSummary)
public CheckpointEnd()
Method Detail |
---|
public String getInvoker()
public int getLogSize()
getLogSize
in interface Loggable
Loggable.getLogSize()
public void writeToLog(ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
logBuffer
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer logBuffer, int entryVersion)
Loggable
readFromLog
in interface Loggable
Loggable.readFromLog(java.nio.ByteBuffer, int)
public void dumpLog(StringBuilder sb, boolean verbose)
Loggable
dumpLog
in interface Loggable
sb
- destination string bufferverbose
- if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuilder, boolean)
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.
public String toString()
toString
in class Object
long getCheckpointStartLsn()
long getRootLsn()
long getFirstActiveLsn()
long getLastLocalNodeId()
long getLastReplicatedNodeId()
long getLastLocalDbId()
long getLastReplicatedDbId()
long getLastLocalTxnId()
long getLastReplicatedTxnId()
public long getId()
public boolean getCleanedFilesToDelete()
public CleanerLogSummary getCleanerLogSummary()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |