Package | Description |
---|---|
oracle.ucp |
Includes both required and optional callback interfaces
that are used to implement connection pool features.
|
oracle.ucp.jdbc |
Includes various interfaces and classes used by applications to work
with JDBC connections and a connection pool.
|
oracle.ucp.jdbc.oracle |
Includes various runtime statistics for the Universal Connection Pool
that are specific to Oracle JDBC resources.
|
Modifier and Type | Method and Description |
---|---|
ConnectionRetrievalInfo |
UniversalConnectionPool.getConnectionRetrievalInfo()
Gets the
ConnectionRetrievalInfo object which contains
user and password information to create the connections. |
ConnectionRetrievalInfo |
UniversalPooledConnection.getConnectionRetrievalInfo()
Gets the connection retrieval info.
|
ConnectionRetrievalInfo |
UniversalPooledConnection.getConnectionRetrievalInfo()
Gets the connection retrieval info.
|
ConnectionRetrievalInfo |
UniversalConnectionPool.getConnectionRetrievalInfo()
Gets the
ConnectionRetrievalInfo object which contains
user and password information to create the connections. |
ConnectionRetrievalInfo |
ConnectionRetrievalInfo.getCopyWithNoLabels()
Clones this connection retrieval object but removes all the
connection labels associated.
|
ConnectionRetrievalInfo |
ConnectionRetrievalInfo.getCopyWithNoLabels()
Clones this connection retrieval object but removes all the
connection labels associated.
|
Modifier and Type | Method and Description |
---|---|
UniversalPooledConnection |
UniversalConnectionPool.borrowConnection(ConnectionRetrievalInfo connectionRetrievalInfo)
Gets a connection from the connection pool.
|
UniversalPooledConnection |
UniversalConnectionPool.borrowConnection(ConnectionRetrievalInfo connectionRetrievalInfo)
Gets a connection from the connection pool.
|
Object |
ConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a connection.
|
Object |
ConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a connection.
|
UniversalPooledConnection |
ConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo)
Creates a UniversalPooledConnection object.
|
UniversalPooledConnection |
ConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo)
Creates a UniversalPooledConnection object.
|
void |
UniversalConnectionPool.setConnectionRetrievalInfo(ConnectionRetrievalInfo cri)
Sets the
ConnectionRetrievalInfo for creating the initial
connections (physical connections) in the pool based on the
initialPoolSize property. |
void |
UniversalPooledConnection.setConnectionRetrievalInfo(ConnectionRetrievalInfo cri)
Sets the connection retrieval info on the connection.
|
void |
UniversalPooledConnection.setConnectionRetrievalInfo(ConnectionRetrievalInfo cri)
Sets the connection retrieval info on the connection.
|
void |
UniversalConnectionPool.setConnectionRetrievalInfo(ConnectionRetrievalInfo cri)
Sets the
ConnectionRetrievalInfo for creating the initial
connections (physical connections) in the pool based on the
initialPoolSize property. |
Modifier and Type | Class and Description |
---|---|
class |
JDBCConnectionRetrievalInfo
The connection retrieval info object for JDBC resources.
|
Modifier and Type | Method and Description |
---|---|
ConnectionRetrievalInfo |
JDBCConnectionRetrievalInfo.getCopyWithNewProxyProperties(int type,
Properties newProxyProps)
Clones this connection retrieval object and adds a new set of proxy properties
|
ConnectionRetrievalInfo |
JDBCConnectionRetrievalInfo.getCopyWithNoLabels()
Clones this connection retrieval object but removes all the connection
labels associated.
|
ConnectionRetrievalInfo |
JDBCConnectionRetrievalInfo.getCopyWithService(String newService)
Clones this connection retrieval object with default service
|
Modifier and Type | Method and Description |
---|---|
UniversalPooledConnection |
JDBCConnectionPool.borrowConnection(ConnectionRetrievalInfo connectionRetrievalInfo)
Gets a Universal Pooled Connection from the base pool and enables the
statement caching when qualified.
|
Object |
XADataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a
javax.sql.XAConnection . |
Object |
DriverConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a physical
java.sql.Connection . |
Object |
DataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a physical
java.sql.Connection . |
Object |
ConnectionPoolDataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a
javax.sql.PooledConnection . |
UniversalPooledConnection |
JDBCConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo)
Creates a
UniversalPooledConnection object. |
Constructor and Description |
---|
JDBCUniversalPooledConnection(JDBCConnectionPool connectionPool,
Object connection,
ConnectionRetrievalInfo connectionRetrievalInfo,
boolean connectionFailoverEnabled) |
Modifier and Type | Class and Description |
---|---|
class |
OracleJDBCConnectionRetrievalInfo |
Constructor and Description |
---|
OracleUniversalPooledConnection(JDBCConnectionPool connectionPool,
Object connection,
ConnectionRetrievalInfo connectionRetrievalInfo,
boolean connectionFailoverEnabled)
Constructor.
|
Copyright © 2008, 2017, Oracle. All rights reserved.