Example usage for Java org.apache.commons.dbcp2.datasources SharedPoolDataSource fields, constructors, methods, implement or subclass
The text is from its open source code.
SharedPoolDataSource() Default no-arg constructor for Serialization |
void | close() Close pool being maintained by this datasource. |
void | setDataSourceName(String v) Set the name of the ConnectionPoolDataSource which backs this pool. |
void | setDefaultAutoCommit(Boolean v) Set the value of defaultAutoCommit, which defines the state of connections handed out from this pool. |
void | setDefaultMaxIdle(int maxIdle) Sets the default value for GenericKeyedObjectPoolConfig#getMaxIdlePerKey() for each per user pool. |
void | setDefaultMaxTotal(int maxTotal) Sets the default value for GenericKeyedObjectPoolConfig#getMaxTotalPerKey() for each per user pool. |
void | setDefaultMaxWaitMillis(long maxWaitMillis) Sets the default value for GenericKeyedObjectPoolConfig#getMaxWaitMillis() for each per user pool. |
void | setDefaultReadOnly(Boolean v) Set the value of defaultReadOnly, which defines the state of connections handed out from this pool. |
void | setDefaultTransactionIsolation(int v) Set the value of defaultTransactionIsolation, which defines the state of connections handed out from this pool. |
void | setLoginTimeout(int v) Set the value of loginTimeout. |