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

    Constructors
    Constructor
    Description
    OpenPoolingDataSource(org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool<C> pool)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool<C>
     

    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

      public OpenPoolingDataSource(org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool<C> pool)
  • Method Details

    • getPool

      protected org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool<C> getPool()
      Overrides:
      getPool in class org.apache.tomcat.dbcp.dbcp2.PoolingDataSource<C extends Connection>