Top Inners Fields Constructors Methods
com.mchange.v1.db.sql

public Class ConnectionBundlePoolBean

extends Object
implements ConnectionBundlePool
Class Inheritance
All Implemented Interfaces
com.mchange.v1.db.sql.ConnectionBundlePool, com.mchange.v1.util.ClosableResource
Imports
java.sql.*, com.mchange.v1.util.BrokenObjectException

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
ConnectionBundlePoolBean.InnerPool

Deprecated as a consequence of ConnectionBundlePoolImpl being deprecated.

Field Summary

Modifier and TypeField and Description
pack-priv ConnectionBundlePool

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public ConnectionBundle
public void
close()

Implements com.mchange.v1.db.sql.ConnectionBundlePool.close.

forces the release of any resources that might be associated with this object.

public void
init(String jdbcDriverClass, String jdbcUrl, String username, String pwd, int start, int max, int inc)

public void
init(String jdbcUrl, String username, String pwd, int start, int max, int inc)

protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

innerback to summary
pack-priv ConnectionBundlePool inner

Constructor Detail

ConnectionBundlePoolBeanback to summary
public ConnectionBundlePoolBean()

Method Detail

checkinBundleback to summary
public void checkinBundle(ConnectionBundle bndl) throws SQLException, BrokenObjectException

Implements com.mchange.v1.db.sql.ConnectionBundlePool.checkinBundle.

checkoutBundleback to summary
public ConnectionBundle checkoutBundle() throws SQLException, InterruptedException, BrokenObjectException

Implements com.mchange.v1.db.sql.ConnectionBundlePool.checkoutBundle.

closeback to summary
public void close() throws SQLException

Implements com.mchange.v1.db.sql.ConnectionBundlePool.close.

Doc from com.mchange.v1.util.ClosableResource.close.

forces the release of any resources that might be associated with this object.

initback to summary
public void init(String jdbcDriverClass, String jdbcUrl, String username, String pwd, int start, int max, int inc) throws SQLException, ClassNotFoundException
initback to summary
public void init(String jdbcUrl, String username, String pwd, int start, int max, int inc) throws SQLException
setConnectionOptionsback to summary
protected void setConnectionOptions(Connection con) throws SQLException
com.mchange.v1.db.sql back to summary

pack-priv Class ConnectionBundlePoolBean.InnerPool

extends ConnectionBundlePoolImpl
Class Inheritance

Deprecated

as a consequence of ConnectionBundlePoolImpl being deprecated. See corresponding docs for further information.

Field Summary

Inherited from com.mchange.v1.db.sql.ConnectionBundlePoolImpl:
jdbcUrlpwdusername

Constructor Summary

AccessConstructor and Description
pack-priv
InnerPool(String jdbcUrl, String username, String pwd, int start, int max, int inc)

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from com.mchange.v1.db.sql.ConnectionBundlePoolImpl:
acquireResourcecheckinBundlecheckoutBundleclosedestroyResourceinitrefurbishResource

Constructor Detail

InnerPoolback to summary
pack-priv InnerPool(String jdbcUrl, String username, String pwd, int start, int max, int inc) throws SQLException

Method Detail

setConnectionOptionsback to summary
protected void setConnectionOptions(Connection con) throws SQLException

Implements abstract com.mchange.v1.db.sql.ConnectionBundlePoolImpl.setConnectionOptions.