|
|||||||||
| 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.BeginXact
public class BeginXact
This operation indicates the beginning of a transaction.
Loggable,
Serialized Form| Field Summary | |
|---|---|
protected int |
transactionStatus
|
protected 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 | |
|---|---|
BeginXact()
|
|
BeginXact(GlobalTransactionId xid,
int s)
|
|
| Method Summary | |
|---|---|
void |
doMe(Transaction xact,
LogInstant instant,
LimitObjectInput in)
Apply the change indicated by this operation and optional data. |
GlobalTransactionId |
getGlobalId()
BeginXact method |
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()
BeginXact is both a FIRST and a RAWSTORE log record |
boolean |
needsRedo(Transaction xact)
Always redo a BeginXact. |
void |
readExternal(java.io.ObjectInput in)
|
void |
releaseResource(Transaction xact)
BeginXact 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 |
|---|
protected int transactionStatus
protected GlobalTransactionId xactId
| Constructor Detail |
|---|
public BeginXact(GlobalTransactionId xid,
int s)
public BeginXact()
| 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.Objectpublic GlobalTransactionId getGlobalId()
|
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 | ||||||||