public class RollbackStart extends java.lang.Object implements Loggable
Constructor and Description |
---|
RollbackStart()
For constructing from the log.
|
RollbackStart(VLSN matchpointVLSN,
long matchpointLSN,
java.util.Set<java.lang.Long> activeTxnIds) |
Modifier and Type | Method and Description |
---|---|
void |
dumpLog(java.lang.StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
java.util.Set<java.lang.Long> |
getActiveTxnIds() |
int |
getLogSize() |
long |
getMatchpoint() |
VLSN |
getMatchpointVLSN() |
long |
getTransactionId() |
boolean |
logicalEquals(Loggable other) |
void |
readFromLog(java.nio.ByteBuffer buffer,
int entryVersion)
"
|
java.lang.String |
toString() |
void |
writeToLog(java.nio.ByteBuffer buffer)
Serialize this object into the buffer.
|
public RollbackStart(VLSN matchpointVLSN, long matchpointLSN, java.util.Set<java.lang.Long> activeTxnIds)
public RollbackStart()
public long getMatchpoint()
public java.util.Set<java.lang.Long> getActiveTxnIds()
public VLSN getMatchpointVLSN()
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, int entryVersion)
readFromLog
in interface Loggable
Loggable.readFromLog(java.nio.ByteBuffer, int)
public void dumpLog(java.lang.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
Loggable.logicalEquals(com.sleepycat.je.log.Loggable)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2004-2012 Oracle. All rights reserved.