Class DBCP2ConnectionPoolFactory.DBCPConnectionPool

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.apache.commons.dbcp2.PoolingDataSource dataSource  
      (package private) org.apache.commons.pool2.ObjectPool pool  
    • Constructor Summary

      Constructors 
      Constructor Description
      DBCPConnectionPool​(org.apache.commons.dbcp2.PoolingDataSource ds, org.apache.commons.pool2.ObjectPool pool)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Method to call when closing the StoreManager down, and consequently to close the pool.
      javax.sql.DataSource getDataSource()
      Accessor for the pooled DataSource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dataSource

        final org.apache.commons.dbcp2.PoolingDataSource dataSource
      • pool

        final org.apache.commons.pool2.ObjectPool pool
    • Constructor Detail

      • DBCPConnectionPool

        public DBCPConnectionPool​(org.apache.commons.dbcp2.PoolingDataSource ds,
                                  org.apache.commons.pool2.ObjectPool pool)
    • Method Detail

      • close

        public void close()
        Description copied from interface: ConnectionPool
        Method to call when closing the StoreManager down, and consequently to close the pool.
        Specified by:
        close in interface ConnectionPool
      • getDataSource

        public javax.sql.DataSource getDataSource()
        Description copied from interface: ConnectionPool
        Accessor for the pooled DataSource.
        Specified by:
        getDataSource in interface ConnectionPool
        Returns:
        The DataSource