public class BeginXact extends java.lang.Object implements Loggable
Loggable,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected int |
transactionStatus |
protected GlobalTransactionId |
xactId |
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK| Constructor and Description |
|---|
BeginXact() |
BeginXact(GlobalTransactionId xid,
int s) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected int transactionStatus
protected GlobalTransactionId xactId
public BeginXact(GlobalTransactionId xid, int s)
public BeginXact()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic void doMe(Transaction xact, LogInstant instant, LimitObjectInput in)
public ByteArray getPreparedLog()
getPreparedLog in interface LoggableObjectOutputpublic boolean needsRedo(Transaction xact)
needsRedo in interface Loggablexact - The transaction trying to redo this operationLoggable.releaseResource(org.apache.derby.iapi.store.raw.Transaction)public void releaseResource(Transaction xact)
releaseResource in interface Loggablepublic int group()
public java.lang.String toString()
toString in class java.lang.Objectpublic GlobalTransactionId getGlobalId()
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.