Class DBCP2BuiltinConnectionPoolFactory.DBCPConnectionPool
java.lang.Object
org.datanucleus.store.rdbms.connectionpool.DBCP2BuiltinConnectionPoolFactory.DBCPConnectionPool
- All Implemented Interfaces:
ConnectionPool
- Enclosing class:
DBCP2BuiltinConnectionPoolFactory
public class DBCP2BuiltinConnectionPoolFactory.DBCPConnectionPool
extends Object
implements ConnectionPool
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final PoolingDataSource
(package private) final GenericObjectPool
<PoolableConnection> -
Constructor Summary
ConstructorsConstructorDescription -
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.
-
Field Details
-
dataSource
-
pool
-
-
Constructor Details
-
DBCPConnectionPool
-
-
Method Details
-
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 interfaceConnectionPool
-
getDataSource
Description copied from interface:ConnectionPool
Accessor for the pooled DataSource.- Specified by:
getDataSource
in interfaceConnectionPool
- Returns:
- The DataSource
-