Method Summary |
|
public void | destroy() |
public Connection | getConnection() |
public double | getConnectionTimeout() Returns the amount of time between connection recycles in days. |
public String | getDriver() Returns the JDBC driver classname used to make database connections. |
public int | getMaxConnections() Returns the maximum number of connections that the pool will use. |
public int | getMinConnections() Returns the minimum number of connections that the pool will use. |
public String | getPassword() Returns the password used to connect to the database. |
public String | getServerURL() Returns the JDBC connection URL used to make database connections. |
public Boolean | getTestAfterUse() Returns whether returned connections will be tested after being returned to
the pool. |
public Boolean | getTestBeforeUse() Returns whether returned connections will be tested before being handed over
to be used. |
public String | getTestSQL() Returns the SQL statement used to test if a connection is valid. |
public String | getUsername() Returns the username used to connect to the database. |
public boolean | isMysqlUseUnicode() |
public boolean | isPooled() |
public void | restart() |
public void | setConnectionTimeout(double connectionTimeout) Sets the amount of time between connection recycles in days. |
public void | setDriver(String driver) Sets the JDBC driver classname used to make database connections. |
public void | setMaxConnections(int maxConnections) Sets the maximum number of connections that the pool will use. |
public void | setMinConnections(int minConnections) Sets the minimum number of connections that the pool will use. |
public void | setPassword(String password) Sets the password used to connect to the database. |
public void | setServerURL(String serverURL) Sets the JDBC connection URL used to make database connections. |
public void | setTestAfterUse(Boolean testAfterUse) Sets whether connections will be tested after being returned to the pool. |
public void | setTestBeforeUse(Boolean testBeforeUse) Sets whether connections will be tested before being handed over to be used. |
public void | setTestSQL(String testSQL) Sets the SQL statement used to test if a connection is valid. |
public void | setUsername(String username) Sets the username used to connect to the database. |
public void | start() |
public String | toString() |