tyrex.resource.jca
Class PoolEntry
final
class
PoolEntry
extends Object
Represents an entry in the connection pool.
Version: $Revision: 1.1 $
Author: Assaf Arkin
Field Summary |
protected boolean | _available
True if this connection is available, false if currently in use. |
protected int | _hashCode
The hash code for this entry. |
protected LocalTransaction | _localTx
The local transaction associated with this connection. |
protected ManagedConnection | _managed
The pooled connection associated with this entry. |
protected PoolEntry | _nextEntry
Reference to the next connection entry in hash table. |
protected long | _timeStamp
The timestamp for a used connection returns the clock time at which
the connection was made available to the application. |
protected XAResource | _xaResource
The XA resource associated with this connection. |
Constructor Summary |
protected | PoolEntry(ManagedConnection managed, int hashCode, XAResource xaResource, LocalTransaction localTx)
Constructs a new pool entry. |
protected boolean _available
True if this connection is available, false if currently in use.
protected final int _hashCode
The hash code for this entry.
protected final LocalTransaction _localTx
The local transaction associated with this connection. May be null.
protected final ManagedConnection _managed
The pooled connection associated with this entry.
Reference to the next connection entry in hash table.
protected long _timeStamp
The timestamp for a used connection returns the clock time at which
the connection was made available to the application. The timestamp
for an unused connection returns the clock time at which the
connection was placed in the pool.
protected final XAResource _xaResource
The XA resource associated with this connection. May be null.
protected PoolEntry(ManagedConnection managed, int hashCode, XAResource xaResource, LocalTransaction localTx)
Constructs a new pool entry. A new pool entry is not available by
default. The
available variable must be set to false to
make it available.
Parameters: managed The managed connection hashCode The managed connection hash code xaResource The XA resource interface, or null localTx The local transaction, or null user The user name or null password The password or null
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.