| Package | Description |
|---|---|
| com.jolbox.bonecp |
The core package for the BoneCP connection pool.
|
| Modifier and Type | Field and Description |
|---|---|
protected ConnectionPartition[] |
BoneCP.partitions
Partitions handle.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionPartition |
ConnectionHandle.getOriginatingPartition()
Gets the partition this came from.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BoneCP.maybeSignalForMoreConnections(ConnectionPartition connectionPartition)
Tests if this partition has hit a threshold and signal to the pool watch thread to create new connections
|
protected void |
ConnectionHandle.setOriginatingPartition(ConnectionPartition originatingPartition)
Sets Originating partition
|
| Constructor and Description |
|---|
ConnectionHandle(Connection connection,
ConnectionPartition partition,
BoneCP pool,
boolean recreating)
Internal constructor
|
ConnectionMaxAgeThread(ConnectionPartition connectionPartition,
ScheduledExecutorService scheduler,
BoneCP pool,
long maxAgeInMs,
boolean lifoMode)
Constructor
|
ConnectionTesterThread(ConnectionPartition connectionPartition,
ScheduledExecutorService scheduler,
BoneCP pool,
long idleMaxAgeInMs,
long idleConnectionTestPeriodInMs,
boolean lifoMode)
Constructor
|
PoolWatchThread(ConnectionPartition connectionPartition,
BoneCP pool)
Thread constructor
|
Copyright © 2009-2013 JolBox. All Rights Reserved.