java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat, Loggablepublic class EndXact extends java.lang.Object implements Loggable
Loggable,
Serialized Form| Modifier and Type | Field | Description |
|---|---|---|
private int |
transactionStatus |
|
private GlobalTransactionId |
xactId |
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK| Constructor | Description |
|---|---|
EndXact() |
|
EndXact(GlobalTransactionId xid,
int s) |
| Modifier and Type | Method | Description |
|---|---|---|
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) |
private int transactionStatus
private GlobalTransactionId xactId
public EndXact(GlobalTransactionId xid, int s)
public EndXact()
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.ObjectApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.