com.metamatrix.soap.service
Interface ConnectionPoolFactory

All Known Implementing Classes:
BasicConnectionPoolFactory

public interface ConnectionPoolFactory

This interface defined the constants and methods used to create connection pools.

Since:
4.3

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

INITIAL_POOL_SIZE_PROPERTY_KEY

static final java.lang.String INITIAL_POOL_SIZE_PROPERTY_KEY
This property defines how many connections will be created when the pool is instantiated.

See Also:
Constant Field Values

MAX_ACTIVE_CONNECTIONS_PROPERTY_KEY

static final 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.

See Also:
Constant Field Values

MAX_IDLE_CONNECTIONS_PROPERTY_KEY

static final 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.

See Also:
Constant Field Values

MAX_WAIT_PROPERTY_KEY

static final 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. An Exception will be throw to the client if this amount of time is exceeded.

See Also:
Constant Field Values

MIN_IDLE_COUNT_PROPERTY_KEY

static final 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.

See Also:
Constant Field Values

MIN_EVICTABLE_IDLE_TIME_MILLIS_KEY

static final 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'.

See Also:
Constant Field Values

TIME_BETWEEN_EVICTION_THREAD_RUNS_KEY

static final 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.

See Also:
Constant Field Values

INITIAL_POOL_SIZE_PROPERTY_DEFAULT

static final int INITIAL_POOL_SIZE_PROPERTY_DEFAULT
See Also:
Constant Field Values

MAX_ACTIVE_CONNECTIONS_DEFAULT

static final int MAX_ACTIVE_CONNECTIONS_DEFAULT
See Also:
Constant Field Values

MAX_IDLE_CONNECTIONS_DEFAULT

static final int MAX_IDLE_CONNECTIONS_DEFAULT
See Also:
Constant Field Values

MAX_WAIT_PROPERTY_DEFAULT

static final int MAX_WAIT_PROPERTY_DEFAULT
See Also:
Constant Field Values

MIN_IDLE_COUNT_PROPERTY_DEFAULT

static final int MIN_IDLE_COUNT_PROPERTY_DEFAULT
See Also:
Constant Field Values

MIN_EVICTABLE_IDLE_TIME_MILLIS_DEFAULT

static final int MIN_EVICTABLE_IDLE_TIME_MILLIS_DEFAULT
See Also:
Constant Field Values

TIME_BETWEEN_EVICTION_THREAD_RUNS_DEFAULT

static final int TIME_BETWEEN_EVICTION_THREAD_RUNS_DEFAULT
See Also:
Constant Field Values
Method Detail

createConnectionPool

javax.sql.DataSource createConnectionPool(java.util.Properties connectionProperties)


Copyright © 2009. All Rights Reserved.