Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » resource » connectionmanager » [javadoc | source]
org.jboss.resource.connectionmanager
public class: InternalManagedConnectionPool [javadoc | source]
java.lang.Object
   org.jboss.resource.connectionmanager.InternalManagedConnectionPool

All Implemented Interfaces:
    IdleConnectionRemovalSupport

The internal pool implementation
Nested Class Summary:
public static class  InternalManagedConnectionPool.PoolParams   
Constructor:
 protected InternalManagedConnectionPool(ManagedConnectionFactory mcf,
    ConnectionListenerFactory clf,
    Subject subject,
    ConnectionRequestInfo cri,
    InternalManagedConnectionPool.PoolParams poolParams,
    Logger log) 
    Create a new internal pool
    Parameters:
    mcf - the managed connection factory
    subject - the subject
    cri - the connection request information
    poolParams - the pooling parameters
    log - the log
Method from org.jboss.resource.connectionmanager.InternalManagedConnectionPool Summary:
fillToMin,   flush,   getAvailableConnections,   getAverageBlockTime,   getConnection,   getConnectionCount,   getConnectionCreatedCount,   getConnectionDestroyedCount,   getConnectionInUseCount,   getConnectionListeners,   getMaxConnectionsInUseCount,   getMaxWaitTime,   getTimedOut,   getTotalBlockTime,   initialize,   removeIdleConnections,   returnConnection,   shutdown,   shutdownWithoutClear,   validateConnections
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.resource.connectionmanager.InternalManagedConnectionPool Detail:
 public  void fillToMin() 
 public  void flush() 
 public long getAvailableConnections() 
 public long getAverageBlockTime() 
 public ConnectionListener getConnection(Subject subject,
    ConnectionRequestInfo cri) throws ResourceException 
    todo distinguish between connection dying while match called and bad match strategy. In latter case we should put it back in the pool.
 public int getConnectionCount() 
 public int getConnectionCreatedCount() 
 public int getConnectionDestroyedCount() 
 public int getConnectionInUseCount() 
 Set getConnectionListeners() 
 public int getMaxConnectionsInUseCount() 
 public long getMaxWaitTime() 
 public int getTimedOut() 
 public long getTotalBlockTime() 
 protected  void initialize() 
    Initialize the pool
 public  void removeIdleConnections() 
 public  void returnConnection(ConnectionListener cl,
    boolean kill) 
 public  void shutdown() 
 public  void shutdownWithoutClear() 
    For testing
 public  void validateConnections() throws Exception