Package com.mchange.v1.db.sql
Class ConnectionBundlePoolBean
java.lang.Object
com.mchange.v1.db.sql.ConnectionBundlePoolBean
- All Implemented Interfaces:
ConnectionBundlePool
,ClosableResource
-
Constructor Details
-
ConnectionBundlePoolBean
public ConnectionBundlePoolBean()
-
-
Method Details
-
init
public void init(String jdbcDriverClass, String jdbcUrl, String username, String pwd, int start, int max, int inc) throws SQLException, ClassNotFoundException - Throws:
SQLException
ClassNotFoundException
-
init
public void init(String jdbcUrl, String username, String pwd, int start, int max, int inc) throws SQLException - Throws:
SQLException
-
checkoutBundle
public ConnectionBundle checkoutBundle() throws SQLException, InterruptedException, BrokenObjectException- Specified by:
checkoutBundle
in interfaceConnectionBundlePool
- Throws:
SQLException
InterruptedException
BrokenObjectException
-
checkinBundle
- Specified by:
checkinBundle
in interfaceConnectionBundlePool
- Throws:
SQLException
BrokenObjectException
-
close
Description copied from interface:ClosableResource
forces the release of any resources that might be associated with this object.- Specified by:
close
in interfaceClosableResource
- Specified by:
close
in interfaceConnectionBundlePool
- Throws:
SQLException
-
setConnectionOptions
- Throws:
SQLException
-