Class DefaultConnectionPoolFactory.DefaultConnectionPool

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) javax.sql.DataSource dataSource  
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultConnectionPool​(javax.sql.DataSource ds)  
    • 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 javax.sql.DataSource dataSource
    • Constructor Detail

      • DefaultConnectionPool

        public DefaultConnectionPool​(javax.sql.DataSource ds)
    • 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