public class EndXact extends java.lang.Object implements Loggable
Loggable
,
Serialized FormModifier and Type | Field and Description |
---|---|
private int |
transactionStatus |
private GlobalTransactionId |
xactId |
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK
Constructor and Description |
---|
EndXact() |
EndXact(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.
|
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.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)
public ByteArray getPreparedLog()
getPreparedLog
in interface Loggable
ObjectOutput
public boolean needsRedo(Transaction xact)
needsRedo
in interface Loggable
xact
- The transaction trying to redo this operationLoggable.releaseResource(org.apache.derby.iapi.store.raw.Transaction)
public void releaseResource(Transaction xact)
releaseResource
in interface Loggable
public int group()
public java.lang.String toString()
toString
in class java.lang.Object
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.