public class LeakDumperManagedConnectionPool extends SemaphoreArrayListManagedConnectionPool
Constructor and Description |
---|
LeakDumperManagedConnectionPool()
Constructor
|
Modifier and Type | Method and Description |
---|---|
ConnectionListener |
getConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
Returns a connection listener that wraps managed connection.
|
void |
returnConnection(ConnectionListener cl,
boolean kill,
boolean cleanup) |
void |
shutdown()
Shutdown
|
java.lang.String |
toString()
String representation
|
addConnectionListener, fillTo, findConnectionListener, findConnectionListener, flush, getActive, getLastUsed, getStatistics, increaseCapacity, initialize, isEmpty, isFull, isIdle, isRunning, prefill, reenable, removeConnectionListener, removeIdleConnections, returnConnection, validateConnections
public LeakDumperManagedConnectionPool()
public ConnectionListener getConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cri) throws javax.resource.ResourceException
getConnection
in interface ManagedConnectionPool
getConnection
in class SemaphoreArrayListManagedConnectionPool
subject
- subjectcri
- connection request infojavax.resource.ResourceException
- exceptionpublic void returnConnection(ConnectionListener cl, boolean kill, boolean cleanup)
returnConnection
in class SemaphoreArrayListManagedConnectionPool
public void shutdown()
shutdown
in interface ManagedConnectionPool
shutdown
in class SemaphoreArrayListManagedConnectionPool
public java.lang.String toString()
toString
in class SemaphoreArrayListManagedConnectionPool
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)