Interface ConnectionPool
-
- All Known Implementing Classes:
BoneCPConnectionPoolFactory.BoneCPConnectionPool
,C3P0ConnectionPoolFactory.C3P0ConnectionPool
,DBCP2BuiltinConnectionPoolFactory.DBCPConnectionPool
,DBCP2ConnectionPoolFactory.DBCPConnectionPool
,DefaultConnectionPoolFactory.DefaultConnectionPool
,HikariCPConnectionPoolFactory.HikariCPConnectionPool
,TomcatConnectionPoolFactory.TomcatConnectionPool
public interface ConnectionPool
Wrapper for a connection pool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Method to call when closing the StoreManager down, and consequently to close the pool.DataSource
getDataSource()
Accessor for the pooled DataSource.
-
-
-
Method Detail
-
close
void close()
Method to call when closing the StoreManager down, and consequently to close the pool.
-
getDataSource
DataSource getDataSource()
Accessor for the pooled DataSource.- Returns:
- The DataSource
-
-