Java org.apache.commons.dbcp2.datasources SharedPoolDataSource fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.dbcp2.datasources SharedPoolDataSource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.dbcp2.datasources SharedPoolDataSource.

The text is from its open source code.

Constructor

SharedPoolDataSource()
Default no-arg constructor for Serialization

Method

voidclose()
Close pool being maintained by this datasource.
voidsetDataSourceName(String v)
Set the name of the ConnectionPoolDataSource which backs this pool.
voidsetDefaultAutoCommit(Boolean v)
Set the value of defaultAutoCommit, which defines the state of connections handed out from this pool.
voidsetDefaultMaxIdle(int maxIdle)
Sets the default value for GenericKeyedObjectPoolConfig#getMaxIdlePerKey() for each per user pool.
voidsetDefaultMaxTotal(int maxTotal)
Sets the default value for GenericKeyedObjectPoolConfig#getMaxTotalPerKey() for each per user pool.
voidsetDefaultMaxWaitMillis(long maxWaitMillis)
Sets the default value for GenericKeyedObjectPoolConfig#getMaxWaitMillis() for each per user pool.
voidsetDefaultReadOnly(Boolean v)
Set the value of defaultReadOnly, which defines the state of connections handed out from this pool.
voidsetDefaultTransactionIsolation(int v)
Set the value of defaultTransactionIsolation, which defines the state of connections handed out from this pool.
voidsetLoginTimeout(int v)
Set the value of loginTimeout.