Package | Description |
---|---|
oracle.ucp |
Includes both required and optional callback interfaces that are used to implement connection pool features.
|
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 |
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.
|
java.lang.Object |
ConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a connection.
|
UniversalPooledConnection |
ConnectionFactoryAdapter.createPooledConnection(java.lang.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.
|