Interface ConnectionPool
- All Known Implementing Classes:
C3P0ConnectionPoolFactory.C3P0ConnectionPool
,DBCP2BuiltinConnectionPoolFactory.DBCPConnectionPool
,DBCP2ConnectionPoolFactory.DBCPConnectionPool
,DefaultConnectionPoolFactory.DefaultConnectionPool
,TomcatConnectionPoolFactory.TomcatConnectionPool
public interface ConnectionPool
Wrapper for a connection pool.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Method to call when closing the StoreManager down, and consequently to close the pool.Accessor for the pooled DataSource.
-
Method Details
-
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
-