Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » resource » connectionmanager » [javadoc | source]
org.jboss.resource.connectionmanager
public interface: ManagedConnectionPool [javadoc | source]

All Known Implementing Classes:
    OnePool, PoolBySubjectAndCri, PoolBySubject, BasePool, PoolByCri

A managed connection pool
Method from org.jboss.resource.connectionmanager.ManagedConnectionPool Summary:
flush,   getAvailableConnectionCount,   getConnection,   getConnectionCount,   getConnectionCreatedCount,   getConnectionDestroyedCount,   getInUseConnectionCount,   getManagedConnectionFactory,   getMaxConnectionsInUseCount,   listUnderlyingNativeConnectionStatistics,   returnConnection,   setConnectionListenerFactory,   shutdown
Method from org.jboss.resource.connectionmanager.ManagedConnectionPool Detail:
 public  void flush()
    flush the pool
 public long getAvailableConnectionCount()
 public ConnectionListener getConnection(Transaction trackByTransaction,
    Subject subject,
    ConnectionRequestInfo cri) throws ResourceException
    Get a connection
 public int getConnectionCount()
 public int getConnectionCreatedCount()
 public int getConnectionDestroyedCount()
 public int getInUseConnectionCount()
 public ManagedConnectionFactory getManagedConnectionFactory()
    Retrieve the managed connection factory for this pool
 public int getMaxConnectionsInUseCount()
 public Object listUnderlyingNativeConnectionStatistics()
 public  void returnConnection(ConnectionListener cl,
    boolean kill) throws ResourceException
    Return a connection
 public  void setConnectionListenerFactory(ConnectionListenerFactory clf)
    Set the connection listener factory
 public  void shutdown()
    shutdown the pool