|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.txn.RollbackStart
public class RollbackStart
This class indicates the end of a partial rollback at syncup. This is a non-replicated entry. Although this is a replication related 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 | |
|---|---|
RollbackStart()
For constructing from the log. |
|
RollbackStart(VLSN matchpointVLSN,
long matchpointLSN,
Set<Long> activeTxnIds)
|
|
| Method Summary | |
|---|---|
void |
dumpLog(StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
Set<Long> |
getActiveTxnIds()
|
int |
getLogSize()
|
long |
getMatchpoint()
|
VLSN |
getMatchpointVLSN()
|
long |
getTransactionId()
|
boolean |
logicalEquals(Loggable other)
|
void |
readFromLog(ByteBuffer buffer,
int entryVersion)
" |
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 RollbackStart(VLSN matchpointVLSN,
long matchpointLSN,
Set<Long> activeTxnIds)
public RollbackStart()
| Method Detail |
|---|
public long getMatchpoint()
public Set<Long> getActiveTxnIds()
public VLSN getMatchpointVLSN()
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)
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 | ||||||||