|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tyrex.resource.jdbc.xa.TxConnection
Describes an open connection associated with a transaction. When a transaction is opened for a connection, this record is created for the connection. It indicates the underlying JDBC connection and transaction Xid. Multiple XA connection that fall under the same transaction Xid will share the same TxConnection object.
Xid
,
XAConnectionImpl
Field Summary | |
(package private) java.sql.Connection |
conn
Holds the underlying JDBC connection for as long as this connection is useable. |
(package private) int |
count
Reference counter indicates how many XA connections share this underlying connection and transaction. |
(package private) java.lang.String |
password
The password for the underlying connection. |
(package private) boolean |
prepared
True if the transaction has already been prepared. |
(package private) boolean |
readOnly
True if the transaction has been prepared and found out to be read-only. |
(package private) long |
started
Indicates the clock time (in ms) when the transaction started. |
(package private) boolean |
timedOut
True if the transaction has failed due to time out. |
(package private) long |
timeout
Indicates the clock time (in ms) when the transaction should time out. |
(package private) java.lang.String |
userName
The user name for the underlying connection. |
(package private) javax.transaction.xa.Xid |
xid
The Xid of the transactions. |
Constructor Summary | |
(package private) |
TxConnection()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
javax.transaction.xa.Xid xid
java.sql.Connection conn
java.lang.String userName
java.lang.String password
long timeout
long started
int count
boolean timedOut
boolean prepared
boolean readOnly
Constructor Detail |
TxConnection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |