| java.lang.Object org.jboss.resource.connectionmanager.InternalManagedConnectionPool
Inner Class :public static class PoolParams | |
InternalManagedConnectionPool | protected InternalManagedConnectionPool(ManagedConnectionFactory mcf, ConnectionListenerFactory clf, Subject subject, ConnectionRequestInfo cri, PoolParams poolParams, Logger log)(Code) | | Create a new internal pool
Parameters: mcf - the managed connection factory Parameters: subject - the subject Parameters: cri - the connection request information Parameters: poolParams - the pooling parameters Parameters: log - the log |
fillToMin | public void fillToMin()(Code) | | |
flush | public void flush()(Code) | | |
getAvailableConnections | public long getAvailableConnections()(Code) | | |
getConnection | public ConnectionListener getConnection(Subject subject, ConnectionRequestInfo cri) throws ResourceException(Code) | | todo distinguish between connection dying while match called
and bad match strategy. In latter case we should put it back in
the pool.
|
getConnectionCount | public int getConnectionCount()(Code) | | |
getConnectionCreatedCount | public int getConnectionCreatedCount()(Code) | | |
getConnectionDestroyedCount | public int getConnectionDestroyedCount()(Code) | | |
getConnectionInUseCount | public int getConnectionInUseCount()(Code) | | |
getMaxConnectionsInUseCount | public int getMaxConnectionsInUseCount()(Code) | | |
initialize | protected void initialize()(Code) | | Initialize the pool
|
removeTimedOut | public void removeTimedOut()(Code) | | |
shutdown | public void shutdown()(Code) | | |
shutdownWithoutClear | public void shutdownWithoutClear()(Code) | | For testing
|
validateConnections | public void validateConnections() throws Exception(Code) | | |
|
|