public class DBCP2ConnectionPoolFactory.DBCPConnectionPool extends Object implements ConnectionPool
Constructor and Description |
---|
DBCPConnectionPool(org.apache.commons.dbcp2.PoolingDataSource ds,
org.apache.commons.pool2.ObjectPool pool) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Method to call when closing the StoreManager down, and consequently to close the pool.
|
DataSource |
getDataSource()
Accessor for the pooled DataSource.
|
public DBCPConnectionPool(org.apache.commons.dbcp2.PoolingDataSource ds, org.apache.commons.pool2.ObjectPool pool)
public void close()
ConnectionPool
close
in interface ConnectionPool
public DataSource getDataSource()
ConnectionPool
getDataSource
in interface ConnectionPool
Copyright © 2015. All rights reserved.