|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface handles exported databases.
Method Summary | |
Connection |
getConnection(boolean doWait)
Get the next available JDBC (database) Connection object. |
int |
getConnectionCount()
Return the number of connections managed by this Connection Pool Manager. |
int |
getUnallocatedConnectionCount()
Get the number of connections that are unallocated in the Connection Pool at the time of this method call. |
void |
releaseConnection(Connection connection)
Release the specified database connection back to the pool. |
Method Detail |
public int getConnectionCount()
public int getUnallocatedConnectionCount()
public Connection getConnection(boolean doWait)
doWait
- true will pend until a Connection is available,
false will return with or without a Connection.The Connection is managed by an underlying Connection Pool Manager. Once a Connection is allocated, it is not reused until it is released back to the pool. The system will deadlock due to lack of Connection resources if Connections are allocated and not released. Always return the Connection object back to the pool with the releaseConnection() method.
AgiDatabaseConnection.releaseConnection( Connection connection )
public void releaseConnection(Connection connection)
connection
- database connection to be returned to pool.
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |