interface PooledConnectionManager
Modifier and Type | Method and Description |
---|---|
void |
closePool(java.lang.String username)
Closes the connection pool associated with the given user.
|
void |
invalidate(javax.sql.PooledConnection pc)
Close the PooledConnection and remove it from the connection pool
to which it belongs, adjusting pool counters.
|
void |
setPassword(java.lang.String password)
Sets the databsase password used when creating connections.
|
void invalidate(javax.sql.PooledConnection pc) throws java.sql.SQLException
pc
- PooledConnection to be invalidatedjava.sql.SQLException
- if an SQL error occurs closing the connectionvoid setPassword(java.lang.String password)
password
- password used when authenticating to the databasevoid closePool(java.lang.String username) throws java.sql.SQLException
username
- user namejava.sql.SQLException
- if an error occurs closing idle connections in the pool