|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.txn.RollbackEnd
public class RollbackEnd
This class indicates the end of a partial rollback at syncup. This is a non-replicated entry. Although this is a replication class, it resides in the utilint package because it is referenced in LogEntryType.java and is used in a general way at recovery.
| Constructor Summary | |
|---|---|
RollbackEnd()
For constructing from the log. |
|
RollbackEnd(long matchpointLSN,
long rollbackStartLSN)
|
|
| Method Summary | |
|---|---|
void |
dumpLog(StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
int |
getLogSize()
|
long |
getMatchpoint()
|
long |
getRollbackStart()
|
long |
getTransactionId()
|
boolean |
logicalEquals(Loggable other)
|
void |
readFromLog(ByteBuffer buffer,
int entryVersion)
Initialize this object from the data in itemBuf. |
String |
toString()
|
void |
writeToLog(ByteBuffer buffer)
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 RollbackEnd(long matchpointLSN,
long rollbackStartLSN)
public RollbackEnd()
| Method Detail |
|---|
public long getMatchpoint()
public long getRollbackStart()
public int getLogSize()
getLogSize in interface LoggableLoggable.getLogSize()public void writeToLog(ByteBuffer buffer)
Loggable
writeToLog in interface Loggablebuffer - is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer buffer,
int entryVersion)
Loggable
readFromLog in interface LoggableLoggable.readFromLog(java.nio.ByteBuffer, int)
public void dumpLog(StringBuilder sb,
boolean verbose)
Loggable
dumpLog in interface Loggablesb - destination string bufferverbose - if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuilder, boolean)public long getTransactionId()
getTransactionId in interface LoggableLoggable.getTransactionId()public boolean logicalEquals(Loggable other)
logicalEquals in interface LoggableLoggable.logicalEquals(com.sleepycat.je.log.Loggable)public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||