public class TransactionTableEntry extends java.lang.Object implements Formatable, TransactionInfo, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
EXCLUDE |
private LogInstant |
firstLog |
private GlobalTransactionId |
gid |
private boolean |
isClone |
private LogInstant |
lastLog |
private LanguageConnectionContext |
lcc |
private Xact |
myxact |
private boolean |
needExclusion |
private boolean |
recovery |
(package private) static int |
RECOVERY |
private int |
transactionStatus |
private boolean |
update |
(package private) static int |
UPDATE |
private TransactionId |
xid |
| Constructor and Description |
|---|
TransactionTableEntry() |
TransactionTableEntry(Xact xact,
TransactionId tid,
int status,
int attribute) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone()
Cloneable
|
(package private) LogInstant |
getFirstLog() |
java.lang.String |
getFirstLogInstantString() |
GlobalTransactionId |
getGid() |
java.lang.String |
getGlobalTransactionIdString() |
(package private) LogInstant |
getLastLog() |
private void |
getlcc() |
java.lang.String |
getStatementTextString() |
java.lang.String |
getTransactionIdString()
Methods of TransactionInfo
|
(package private) int |
getTransactionStatus() |
java.lang.String |
getTransactionStatusString() |
java.lang.String |
getTransactionTypeString() |
int |
getTypeFormatId()
Return my format identifier.
|
java.lang.String |
getUsernameString() |
Xact |
getXact() |
(package private) TransactionId |
getXid()
get instance variables
|
(package private) boolean |
isPrepared() |
(package private) boolean |
isRecovery() |
(package private) boolean |
isUpdate() |
boolean |
needExclusion() |
(package private) void |
prepareTransaction() |
void |
readExternal(java.io.ObjectInput in) |
(package private) void |
removeUpdateTransaction() |
(package private) void |
setXact(Xact xact) |
java.lang.String |
toString() |
(package private) void |
unsetRecoveryStatus() |
(package private) void |
updateTransactionStatus(Xact xact,
int status,
int attribute) |
void |
writeExternal(java.io.ObjectOutput out) |
private TransactionId xid
private GlobalTransactionId gid
private LogInstant firstLog
private LogInstant lastLog
private int transactionStatus
private transient Xact myxact
private transient boolean update
private transient boolean recovery
private transient boolean needExclusion
private boolean isClone
private transient LanguageConnectionContext lcc
static final int UPDATE
static final int RECOVERY
static final int EXCLUDE
TransactionTableEntry(Xact xact, TransactionId tid, int status, int attribute)
public TransactionTableEntry()
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.lang.ClassNotFoundException,
java.io.IOException
readExternal in interface java.io.Externalizablejava.lang.ClassNotFoundExceptionjava.io.IOExceptionvoid setXact(Xact xact)
public int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic java.lang.String toString()
toString in class java.lang.Objectvoid updateTransactionStatus(Xact xact, int status, int attribute)
void removeUpdateTransaction()
void unsetRecoveryStatus()
void prepareTransaction()
TransactionId getXid()
public final GlobalTransactionId getGid()
LogInstant getFirstLog()
LogInstant getLastLog()
public final Xact getXact()
int getTransactionStatus()
boolean isUpdate()
boolean isRecovery()
boolean isPrepared()
public boolean needExclusion()
public java.lang.String getTransactionIdString()
getTransactionIdString in interface TransactionInfopublic java.lang.String getGlobalTransactionIdString()
getGlobalTransactionIdString in interface TransactionInfopublic java.lang.String getUsernameString()
getUsernameString in interface TransactionInfopublic java.lang.String getTransactionTypeString()
getTransactionTypeString in interface TransactionInfopublic java.lang.String getTransactionStatusString()
getTransactionStatusString in interface TransactionInfopublic java.lang.String getStatementTextString()
getStatementTextString in interface TransactionInfopublic java.lang.String getFirstLogInstantString()
getFirstLogInstantString in interface TransactionInfoprivate void getlcc()
protected java.lang.Object clone()
clone in class java.lang.ObjectApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.