|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.store.raw.xact.EndXact
public class EndXact
This operation indicates the End of a transaction.
Loggable,
Serialized Form| Field Summary | |
|---|---|
private int |
transactionStatus
|
private GlobalTransactionId |
xactId
|
| Fields inherited from interface org.apache.derby.iapi.store.raw.Loggable |
|---|
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK |
| Constructor Summary | |
|---|---|
EndXact()
|
|
EndXact(GlobalTransactionId xid,
int s)
|
|
| Method Summary | |
|---|---|
void |
doMe(Transaction xact,
LogInstant instant,
LimitObjectInput in)
Apply the change indicated by this operation and optional data. |
ByteArray |
getPreparedLog()
the default for prepared log is always null for all the operations that don't have optionalData. |
int |
getTypeFormatId()
Return my format identifier. |
int |
group()
EndXact is a RAWSTORE log record. |
boolean |
needsRedo(Transaction xact)
Always redo an EndXact. |
void |
readExternal(java.io.ObjectInput in)
|
void |
releaseResource(Transaction xact)
EndXact has no resource to release |
java.lang.String |
toString()
DEBUG: Print self. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int transactionStatus
private GlobalTransactionId xactId
| Constructor Detail |
|---|
public EndXact(GlobalTransactionId xid,
int s)
public EndXact()
| Method Detail |
|---|
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormat
public void doMe(Transaction xact,
LogInstant instant,
LimitObjectInput in)
doMe in interface Loggablexact - the Transactioninstant - the log instant of this operationin - optional datapublic ByteArray getPreparedLog()
getPreparedLog in interface LoggableObjectOutputpublic boolean needsRedo(Transaction xact)
needsRedo in interface Loggablexact - The transaction trying to redo this operation
Loggable.releaseResource(org.apache.derby.iapi.store.raw.Transaction)public void releaseResource(Transaction xact)
releaseResource in interface Loggablepublic int group()
group in interface Loggablepublic java.lang.String toString()
toString in class java.lang.Object
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||