|
||||||||||
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
This operation indicates the End of a transaction.
Loggable
,
Serialized FormField 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.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public void doMe(Transaction xact, LogInstant instant, LimitObjectInput in)
doMe
in interface Loggable
xact
- the Transactioninstant
- the log instant of this operationin
- optional datapublic ByteArray getPreparedLog()
getPreparedLog
in interface Loggable
ObjectOutput
public boolean needsRedo(Transaction xact)
needsRedo
in interface Loggable
xact
- The transaction trying to redo this operation
Loggable.releaseResource(org.apache.derby.iapi.store.raw.Transaction)
public void releaseResource(Transaction xact)
releaseResource
in interface Loggable
public int group()
group
in interface Loggable
public java.lang.String toString()
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |