|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnectionPool
The IConnectionPool
provides the interface for a pool of JDBC
connections to a database
Method Summary | |
---|---|
void |
closeAllConnections()
Close all the connections. |
void |
free(java.sql.Connection connection)
free the connection provided by getConnection() . |
java.sql.Connection |
getConnection()
Gets a connection from the connection pool. |
JDBCDatabaseType |
getDatabaseType()
Gets the Database type which is connected to the application |
int |
totalConnections()
the total number of connections in the pool currently |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
java.sql.Connection getConnection() throws java.sql.SQLException
Connection
java.sql.SQLException
- on occasionsvoid free(java.sql.Connection connection)
getConnection()
.
connection
- the connection to free, as returned by
getConnection
void closeAllConnections()
int totalConnections()
JDBCDatabaseType getDatabaseType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |