|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BoneCP | |
|---|---|
| com.jolbox.bonecp | The core package for the BoneCP connection pool. |
| Uses of BoneCP in com.jolbox.bonecp |
|---|
| Fields in com.jolbox.bonecp declared as BoneCP | |
|---|---|
protected BoneCP |
ConnectionPartition.pool
Handle to the pool. |
protected BoneCP |
AbstractConnectionStrategy.pool
Pool handle |
| Methods in com.jolbox.bonecp that return BoneCP | |
|---|---|
BoneCP |
ConnectionHandle.getPool()
Returns a handle to the global pool from where this connection was obtained. |
BoneCP |
BoneCPDataSource.getPool()
Returns a handle to the pool. |
| Methods in com.jolbox.bonecp with parameters of type BoneCP | |
|---|---|
static ConnectionHandle |
ConnectionHandle.createConnectionHandle(String url,
String username,
String password,
BoneCP pool)
Create a connection Handle. |
protected static ConnectionHandle |
ConnectionHandle.createTestConnectionHandle(Connection connection,
IStatementCache preparedStatementCache,
IStatementCache callableStatementCache,
BoneCP pool)
Private -- used solely for unit testing. |
static DefaultConnectionStrategy |
DefaultConnectionStrategy.getInstance(BoneCP pool)
Singleton pattern. |
static ConnectionStrategy |
CachedConnectionStrategy.getInstance(BoneCP pool,
ConnectionStrategy fallbackStrategy)
Singleton pattern. |
protected Connection |
ConnectionHandle.obtainInternalConnection(BoneCP pool,
String url)
Obtains a database connection, retrying if necessary. |
| Constructors in com.jolbox.bonecp with parameters of type BoneCP | |
|---|---|
ConnectionMaxAgeThread(ConnectionPartition connectionPartition,
ScheduledExecutorService scheduler,
BoneCP pool,
long maxAgeInMs,
boolean lifoMode)
Constructor |
|
ConnectionPartition(BoneCP pool)
Partition constructor |
|
ConnectionReleaseHelperThread(BlockingQueue<ConnectionHandle> queue,
BoneCP pool)
Helper Thread constructor. |
|
ConnectionTesterThread(ConnectionPartition connectionPartition,
ScheduledExecutorService scheduler,
BoneCP pool,
long idleMaxAgeInMs,
long idleConnectionTestPeriodInMs,
boolean lifoMode)
Constructor |
|
PoolWatchThread(ConnectionPartition connectionPartition,
BoneCP pool)
Thread constructor |
|
StatementReleaseHelperThread(BlockingQueue<StatementHandle> queue,
BoneCP pool)
Helper Thread constructor. |
|
Statistics(BoneCP pool)
BoneCP handle. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||