|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionPoolFactory
This interface defined the constants and methods used to create connection pools.
Field Summary | |
---|---|
static int |
INITIAL_POOL_SIZE_PROPERTY_DEFAULT
|
static java.lang.String |
INITIAL_POOL_SIZE_PROPERTY_KEY
This property defines how many connections will be created when the pool is instantiated. |
static int |
MAX_ACTIVE_CONNECTIONS_DEFAULT
|
static java.lang.String |
MAX_ACTIVE_CONNECTIONS_PROPERTY_KEY
The value for this property defines the maximum number of connections that can be available in the pool at any one time. |
static int |
MAX_IDLE_CONNECTIONS_DEFAULT
|
static java.lang.String |
MAX_IDLE_CONNECTIONS_PROPERTY_KEY
This value for this property defines the maximum number of connections that are idle in the pool at one time. |
static int |
MAX_WAIT_PROPERTY_DEFAULT
|
static java.lang.String |
MAX_WAIT_PROPERTY_KEY
The value for this property defines the maximum amount of time to block a client that requests a connection from the pool. |
static int |
MIN_EVICTABLE_IDLE_TIME_MILLIS_DEFAULT
|
static java.lang.String |
MIN_EVICTABLE_IDLE_TIME_MILLIS_KEY
The value for this property defines the amount of time a connection can be idle in the pool before being 'destroyed'. |
static int |
MIN_IDLE_COUNT_PROPERTY_DEFAULT
|
static java.lang.String |
MIN_IDLE_COUNT_PROPERTY_KEY
The value for this property defines the minimum number of idle connections that will be available in the pool at any time. |
static int |
TIME_BETWEEN_EVICTION_THREAD_RUNS_DEFAULT
|
static java.lang.String |
TIME_BETWEEN_EVICTION_THREAD_RUNS_KEY
The value for this property defines the amount of time between checks for connections that have exceeded the MIN_EVICTABLE_IDLE_TIME. |
Method Summary | |
---|---|
javax.sql.DataSource |
createConnectionPool(java.util.Properties connectionProperties)
|
Field Detail |
---|
static final java.lang.String INITIAL_POOL_SIZE_PROPERTY_KEY
static final java.lang.String MAX_ACTIVE_CONNECTIONS_PROPERTY_KEY
static final java.lang.String MAX_IDLE_CONNECTIONS_PROPERTY_KEY
static final java.lang.String MAX_WAIT_PROPERTY_KEY
static final java.lang.String MIN_IDLE_COUNT_PROPERTY_KEY
static final java.lang.String MIN_EVICTABLE_IDLE_TIME_MILLIS_KEY
static final java.lang.String TIME_BETWEEN_EVICTION_THREAD_RUNS_KEY
static final int INITIAL_POOL_SIZE_PROPERTY_DEFAULT
static final int MAX_ACTIVE_CONNECTIONS_DEFAULT
static final int MAX_IDLE_CONNECTIONS_DEFAULT
static final int MAX_WAIT_PROPERTY_DEFAULT
static final int MIN_IDLE_COUNT_PROPERTY_DEFAULT
static final int MIN_EVICTABLE_IDLE_TIME_MILLIS_DEFAULT
static final int TIME_BETWEEN_EVICTION_THREAD_RUNS_DEFAULT
Method Detail |
---|
javax.sql.DataSource createConnectionPool(java.util.Properties connectionProperties)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |