|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A managed connection pool
Method Summary | |
void |
flush()
flush the pool |
long |
getAvailableConnectionCount()
|
ConnectionListener (src) |
getConnection(Transaction (src) tx,
javax.security.auth.Subject subject,
ConnectionRequestInfo (src) cri)
Get a connection |
int |
getConnectionCount()
|
int |
getConnectionCreatedCount()
|
int |
getConnectionDestroyedCount()
|
int |
getInUseConnectionCount()
|
ManagedConnectionFactory (src) |
getManagedConnectionFactory()
Retrieve the managed connection factory for this pool |
int |
getMaxConnectionsInUseCount()
|
void |
returnConnection(ConnectionListener (src) cl,
boolean kill)
Return a connection |
void |
setConnectionListenerFactory(ConnectionListenerFactory (src) clf)
Set the connection listener factory |
void |
shutdown()
shutdown the pool |
Method Detail |
public ManagedConnectionFactory (src) getManagedConnectionFactory()
public void setConnectionListenerFactory(ConnectionListenerFactory (src) clf)
clf
- the connection event listener factorypublic ConnectionListener (src) getConnection(Transaction (src) tx, javax.security.auth.Subject subject, ConnectionRequestInfo (src) cri) throws ResourceException (src)
subject
- the subject for connectioncri
- the connection request information
ResourceException (src)
- for any errorpublic void returnConnection(ConnectionListener (src) cl, boolean kill) throws ResourceException (src)
cl
- the connection event listener wrapping the connectionkill
- whether to destroy the managed connection
ResourceException (src)
- for any errorpublic int getConnectionCount()
public int getInUseConnectionCount()
public int getConnectionCreatedCount()
public int getConnectionDestroyedCount()
public void shutdown()
public long getAvailableConnectionCount()
public int getMaxConnectionsInUseCount()
public void flush()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |