Class OpenPoolingDataSource<C extends Connection>
java.lang.Object
org.apache.tomcat.dbcp.dbcp2.PoolingDataSource<C>
org.frankframework.jdbc.datasource.OpenPoolingDataSource<C>
- All Implemented Interfaces:
AutoCloseable
,Wrapper
,CommonDataSource
,DataSource
public class OpenPoolingDataSource<C extends Connection>
extends org.apache.tomcat.dbcp.dbcp2.PoolingDataSource<C>
Extension of
PoolingDataSource
that exposes an extra method to fetch pool statistics.-
Constructor Summary
ConstructorDescriptionOpenPoolingDataSource
(org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool<C> pool) -
Method Summary
Methods inherited from class org.apache.tomcat.dbcp.dbcp2.PoolingDataSource
close, getConnection, getConnection, getLoginTimeout, getLogWriter, getParentLogger, isAccessToUnderlyingConnectionAllowed, isWrapperFor, setAccessToUnderlyingConnectionAllowed, setLoginTimeout, setLogWriter, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Constructor Details
-
OpenPoolingDataSource
-
-
Method Details
-
getPool
- Overrides:
getPool
in classorg.apache.tomcat.dbcp.dbcp2.PoolingDataSource<C extends Connection>
-