Example usage for Java org.apache.commons.dbcp.cpdsadapter DriverAdapterCPDS fields, constructors, methods, implement or subclass
The text is from its open source code.
DriverAdapterCPDS() Default no-arg constructor for Serialization |
String | getDescription() Get the value of description. |
String | getDriver() Get the driver classname. |
int | getLoginTimeout() Gets the maximum time in seconds that this data source can wait while attempting to connect to a database. |
int | getMaxActive() The maximum number of active statements that can be allocated from this pool at the same time, or non-positive for no limit. |
int | getMaxIdle() The maximum number of statements that can remain idle in the pool, without extra ones being released, or negative for no limit. |
int | getMaxPreparedStatements() Returns the maximun number of prepared statements. |
int | getMinEvictableIdleTimeMillis() Returns the minimum amount of time a statement may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any). |
int | getNumTestsPerEvictionRun() Returns the number of statements to examine during each run of the idle object evictor thread (if any). |
String | getPassword() Get the value of password for the default user. |
int | getTimeBetweenEvictionRunsMillis() Returns the number of milliseconds to sleep between runs of the idle object evictor thread. |
String | getUrl() Get the value of url used to locate the database for this datasource. |
String | getUser() Get the value of default user (login or username). |
boolean | isPoolPreparedStatements() Flag to toggle the pooling of PreparedStatement s |
void | setDriver(String v) Set the driver classname. |
void | setMaxActive(int maxActive) The maximum number of active statements that can be allocated from this pool at the same time, or non-positive for no limit. |
void | setMaxIdle(int maxIdle) The maximum number of statements that can remain idle in the pool, without extra ones being released, or negative for no limit. |
void | setPassword(String v) Set the value of password for the default user. |
void | setPoolPreparedStatements(boolean v) Flag to toggle the pooling of PreparedStatement s |
void | setUrl(String v) Set the value of url used to locate the database for this datasource. |
void | setUser(String v) Set the value of default user (login or username). |