|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-01 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Includes both required and optional callback interfaces that are used to implement connection pool features.
See:
Description
Interface Summary | |
---|---|
AbandonedConnectionTimeoutCallback | The callback interface for the abandoned connection timeout feature. |
ConnectionAffinityCallback | The callback interface for the Oracle RAC affinity features. |
ConnectionFactoryAdapter | The connection factory adapter is responsible for creating and closing connections for a specific resource (such as, JDBC or JCA). |
ConnectionHarvestingCallback | The callback interface for the connection harvesting support. |
ConnectionLabelingCallback | The callback interface for connection labeling support. |
ConnectionRetrievalInfo | The connection retrieval info object is used by the connection factory adapter to create connections. |
TimeToLiveConnectionTimeoutCallback | The callback interface for the time-to-live (TTL) connection timeout feature. |
UniversalConnectionPool | A connection pool that pools any type of connection (called a physical connection). |
UniversalConnectionPoolAdapter | Universal Connection Pool Adapter interface. |
UniversalConnectionPoolStatistics | Various runtime statistics for the Universal Connection Pool. |
UniversalPooledConnection | The UniversalPooledConnection is the actual object that is pooled by the connection pool. |
Class Summary | |
---|---|
UniversalConnectionPoolLifeCycleState | Type-safe Life Cycle values for the connection pool. |
UniversalPooledConnectionStatus | Describes the status of a pooled connection. |
Enum Summary | |
---|---|
ConnectionAffinityCallback.AffinityPolicy |
Exception Summary | |
---|---|
NoAvailableConnectionsException | An exception indicating that there are no available connections in the connection pool. |
UniversalConnectionPoolException | This exception is the base exception for Universal Connection Pool exceptions. |
Includes both required and optional callback interfaces that are used to implement connection pool features. These callback interfaces include:
ConnectionAffinityCallback
interface is a callback required by the Oracle RAC affinity features. It allows the Universal Connection Pool to establish and retrieve connection affinity contexts. The interface also allows applications to inform the connection pool of their choice of the connection affinity policy.ConnectionLabelingCallback
interface is a callback required by the connection labeling feature. It is used to define how the connection pool selects labeled connections and allows the selected connection to be configured before it is returned to an application.ConnectionHarvestingCallback
interface is an optional callback for the connection harvesting feature. It allows applications to perform customized cleanup tasks when a connection is harvested by the pool.AbandonedConnectionTimeoutCallback
interface is an optional callback for the abandoned connection timeout feature. It allows applications to provide customized handling for abandoned connections.TimeToLiveConnectionTimeoutCallback
interface is an optional callback for the time-to-live (TTL) connection timeout feature. It allows applications to provide customized handling for TTL timed-out connections.This package also includes the connection pool itself that pools any type of connection (called a physical connection).
There are several key objects that make up the connection pool:
UniversalPooledConnection
object that is then placed into the connection pool. When the connection pool closes a connection, it hands the connection to the connection factory adapter which then closes the connection.UniversalPooledConnection
. The pooled connection decorates a physical connection (created by the connection factory adapter) which can be borrowed.ConnectionRequestInfo
object.The connection pool provides some properties for users to customize the pool's behavior, such as (see UniversalConnectionPool
):
The connection pool maintains some statistics such as (see UniversalConnectionPoolStatistics
):
A connection pool has a lifecycle. See UniversalConnectionPoolLifeCycleState
for details.
For overviews, tutorials, examples, guides, and tool documentation, see:
|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-01 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |