| Package | Description |
|---|---|
| oracle.ucp |
Includes both required and optional callback interfaces
that are used to implement connection pool features.
|
| oracle.ucp.admin |
Defines interfaces for administering Universal Connection Pool instances,
including JMX support.
|
| 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.
|
| oracle.ucp.util |
| Modifier and Type | Class | Description |
|---|---|---|
class |
NoAvailableConnectionsException |
An exception indicating that there are no available connections in
the connection pool.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ConnectionRetrievalInfo.addLabel(String key,
String value) |
Adds a connection label to this connection retrieval info object.
|
void |
UniversalPooledConnection.applyConnectionLabel(String key,
String value) |
Applies a connection label on a borrowed connection.
|
UniversalPooledConnection |
UniversalConnectionPool.borrowConnection(ConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a connection from the connection pool.
|
void |
ConnectionFactoryAdapter.closeConnection(Object connection) |
Closes the given connection.
|
void |
UniversalConnectionPool.closeConnection(UniversalPooledConnection pooledConnection) |
Closes the pooled connection.
|
Object |
ConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
Creates a connection.
|
UniversalPooledConnection |
ConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo) |
Creates a UniversalPooledConnection object.
|
AbandonedConnectionTimeoutCallback |
UniversalPooledConnection.getAbandonedConnectionTimeoutCallback() |
Obtains the
AbandonedConnectionTimeoutCallback registered
with this connection. |
ConnectionHarvestingCallback |
UniversalPooledConnection.getConnectionHarvestingCallback() |
Obtains the
ConnectionHarvestingCallback registered with
this connection. |
Properties |
UniversalPooledConnection.getConnectionLabels() |
Retrieves all the connection labels applied on this connection.
|
TimeToLiveConnectionTimeoutCallback |
UniversalPooledConnection.getTimeToLiveConnectionTimeoutCallback() |
Obtains the
TimeToLiveConnectionTimeoutCallback registered
with this connection. |
Properties |
UniversalPooledConnection.getUnmatchedConnectionLabels(Properties requestedLabels) |
Obtains all the requested labels that did not match the applied
labels on this connection when this connection was borrowed from
the pool.
|
void |
UniversalConnectionPool.purge() |
Removes all connections from the connection pool.
|
void |
UniversalConnectionPool.reconfigure(Properties props) |
Allows a connection pool to be reconfigured gracefully with a
different set of properties that specify the behavior of the
connection pool at runtime.
|
void |
UniversalConnectionPool.recycle() |
Allows only invalid available connections
in the pool to be replaced with new/fresh connections.
|
void |
UniversalConnectionPool.refresh() |
Allows connections in the pool, both borrowed and available ones,
to be replaced with new/fresh connections.
|
void |
UniversalPooledConnection.registerAbandonedConnectionTimeoutCallback(AbandonedConnectionTimeoutCallback cbk) |
Registers an
AbandonedConnectionTimeoutCallback with this
connection. |
void |
UniversalConnectionPool.registerConnectionAffinityCallback(ConnectionAffinityCallback cbk) |
Registers a
ConnectionAffinityCallback objet on the
connection pool. |
void |
UniversalPooledConnection.registerConnectionHarvestingCallback(ConnectionHarvestingCallback cbk) |
Registers a
ConnectionHarvestingCallback with this connection. |
void |
UniversalConnectionPool.registerConnectionLabelingCallback(ConnectionLabelingCallback cbk) |
Registers a
ConnectionLabelingCallback object with this
connection pool. |
void |
UniversalPooledConnection.registerTimeToLiveConnectionTimeoutCallback(TimeToLiveConnectionTimeoutCallback cbk) |
Registers a
TimeToLiveConnectionTimeoutCallback with this
connection. |
void |
UniversalPooledConnection.removeAbandonedConnectionTimeoutCallback() |
Removes the
AbandonedConnectionTimeoutCallback object
registered with this connection, if any. |
void |
UniversalConnectionPool.removeConnectionAffinityCallback() |
Removes the
ConnectionAffinityCallback object registered on
the connection pool. |
void |
UniversalPooledConnection.removeConnectionHarvestingCallback() |
Removes the
ConnectionHarvestingCallback object registered
with this connection, if any. |
void |
UniversalPooledConnection.removeConnectionLabel(String key) |
Removes the connection label with the given key from the connection
labels applied on this connection.
|
void |
UniversalConnectionPool.removeConnectionLabelingCallback() |
Removes the
ConnectionLabelingCallback object registered
with this connection pool, if any. |
void |
ConnectionRetrievalInfo.removeLabel(String key) |
Removes the connection label with the given key from this connection
retrieval info object.
|
void |
UniversalPooledConnection.removeTimeToLiveConnectionTimeoutCallback() |
Removes the
TimeToLiveConnectionTimeoutCallback object
registered with this connection, if any. |
void |
UniversalConnectionPool.returnConnection(UniversalPooledConnection pooledConnection) |
Returns a connection back into the connection pool.
|
void |
UniversalConnectionPool.setAbandonedConnectionTimeout(int abandonedConnectionTimeout) |
Sets the abandoned connection timeout.
|
void |
UniversalPooledConnection.setConnectionHarvestable(boolean isConnectionHarvestable) |
Specifies whether this connection is harvestable.
|
void |
UniversalConnectionPool.setConnectionHarvestMaxCount(int connectionHarvestMaxCount) |
Sets the maximum number of connections that may be harvested when
the connection harvesting occurs.
|
void |
UniversalConnectionPool.setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount) |
Sets the number of available connections below which the connection
pool's connection harvesting occurs.
|
void |
UniversalConnectionPool.setConnectionLabelingHighCost(int highCost) |
Sets the cost value which identifies a connection as "high-cost" for
connection labeling.
|
void |
UniversalConnectionPool.setConnectionRepurposeThreshold(Integer threshold) |
Sets the connection repurpose threshold for the pool.
|
void |
UniversalConnectionPool.setConnectionValidationTimeout(int connectionValidationTimeout) |
Connection validation timeout setter
This property changes the allowed time for a connection valiadation.
|
void |
UniversalConnectionPool.setConnectionWaitTimeout(int waitTimeout) |
Sets the amount of time to wait (in seconds) for a used connection to
be released by a client.
|
void |
UniversalConnectionPool.setHighCostConnectionReuseThreshold(int threshold) |
Sets the high-cost connection reuse threshold for connection labeling.
|
void |
UniversalConnectionPool.setInactiveConnectionTimeout(int inactiveConnectionTimeout) |
Sets the inactive connection timeout.
|
void |
UniversalConnectionPool.setInitialPoolSize(int initialPoolSize) |
Sets the initial pool size.
|
void |
UniversalConnectionPool.setLoginTimeout(int seconds) |
Sets the default maximum time in seconds that a driver will wait while attempting
to connect to a database once the driver has been identified.
|
void |
UniversalConnectionPool.setMaxConnectionReuseCount(int maxConnectionReuseCount) |
Sets the maximum connection reuse count property.
|
void |
UniversalConnectionPool.setMaxConnectionReuseTime(long maxConnectionReuseTime) |
Sets the maximum connection reuse time property.
|
void |
UniversalConnectionPool.setMaxConnectionsPerService(int maxConnectionsPerService) |
Sets the maximum number of connections that can be obtained to a particular
service, in a shared pool.
|
void |
UniversalConnectionPool.setMaxPoolSize(int maxPoolSize) |
Sets the maximum number of connections.
|
void |
UniversalConnectionPool.setMinPoolSize(int minPoolSize) |
Sets the minimum number of connections.
|
void |
UniversalConnectionPool.setSecondsToTrustIdleConnection(int secondsToTrustIdleConnection) |
Sets the time in seconds to trust an idle connection to skip a validation
test.
|
void |
UniversalPooledConnection.setStatus(UniversalPooledConnectionStatus status) |
Sets the status of the pooled connection.
|
void |
UniversalConnectionPool.setTimeoutCheckInterval(int timeoutCheckInterval) |
Sets the frequency (in seconds) to enforce the timeout properties.
|
void |
UniversalConnectionPool.setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout) |
Sets the maximum time (in seconds) a connection may remain in-use.
|
void |
ConnectionFactoryAdapter.setUniversalConnectionPool(UniversalConnectionPool connectionPool) |
Sets the connection pool that interacts with this connection factory
adapter.
|
void |
UniversalConnectionPool.start() |
Starts the connection pool.
|
void |
UniversalConnectionPool.stop() |
Stops the connection pool.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
UniversalConnectionPoolManager.createConnectionPool(UniversalConnectionPoolAdapter ucpAdapter) |
Creates a connection pool instance based on specified UCP Adapter.
|
void |
UniversalConnectionPoolManagerBase.createConnectionPool(UniversalConnectionPoolAdapter ucpAdapter) |
Creates a connection pool instance based on specified UCP Adapter.
|
UniversalConnectionPoolMBean |
UniversalConnectionPoolManagerMBean.createConnectionPool(UniversalConnectionPoolAdapter ucpAdapter) |
Creates a connection pool instance based on specified UCP Adapter.
|
UniversalConnectionPoolMBean |
UniversalConnectionPoolManagerMBeanImpl.createConnectionPool(UniversalConnectionPoolAdapter ucpAdapter) |
Creates a connection pool instance based on specified UCP Adapter.
|
void |
UniversalConnectionPoolManager.destroyConnectionPool(String poolName) |
Destroys the connection pool.
|
void |
UniversalConnectionPoolManagerBase.destroyConnectionPool(String poolName) |
Destroys the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.destroyConnectionPool(String poolName) |
Destroys the connection pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.destroyConnectionPool(String poolName) |
Destroys the connection pool.
|
UniversalConnectionPool |
UniversalConnectionPoolManager.getConnectionPool(String poolName) |
Gets the Universal Connection Pool instance from the Universal Connection
Pool Manager.
|
UniversalConnectionPool |
UniversalConnectionPoolManagerBase.getConnectionPool(String poolName) |
Gets the UniversalConnectionPool from UniversalConnectionPoolManager
Object.
|
UniversalConnectionPoolLifeCycleState |
UniversalConnectionPoolManagerMBean.getConnectionPoolLifeCycleState(String poolName) |
Gets the life cycle state of the Universal Connection Pool.
|
UniversalConnectionPoolLifeCycleState |
UniversalConnectionPoolManagerMBeanImpl.getConnectionPoolLifeCycleState(String poolName) |
Gets the life cycle state of the UniversalConnectionPool.
|
String[] |
UniversalConnectionPoolManager.getConnectionPoolNames() |
Gets all the pool names managed by the Universal Connection Pool Manager.
|
String[] |
UniversalConnectionPoolManagerBase.getConnectionPoolNames() |
Gets all the pool names managed by the UniversalConnectionPoolManager.
|
String[] |
UniversalConnectionPoolManagerMBean.getConnectionPoolNames() |
Gets all the pool names managed by the Universal Connection Pool Manager.
|
String[] |
UniversalConnectionPoolManagerMBeanImpl.getConnectionPoolNames() |
Gets all the pool names managed by the UniversalConnectionPoolManager.
|
protected String |
UniversalConnectionPoolManagerBase.getManagerPoolID(String poolName) |
Gets the uniquePoolID for a provided poolName from the
UniversalConnectionPoolManager.
|
String |
UniversalConnectionPoolManagerHelper.getManagerPoolID() |
Gets the uniquePoolID for a provided poolName from the
UniversalConnectionPoolManager.
|
int |
JDBCUniversalConnectionPoolMBeanImpl.getMaxConnectionsPerService() |
Gets the maximum number of connections that can be obtained to a particular
service, in a shared pool.
|
ModelMBeanInfo |
JDBCUniversalConnectionPoolMBeanImpl.getMBeanInfo(ObjectName mbeanObjName,
String mbeanDisplayName) |
Builds the MBeanInfo to define attributes, constructors, operations and
notifications to expose to the remote users.
|
ModelMBeanInfo |
UniversalConnectionPoolMBean.getMBeanInfo(ObjectName mbeanObjName,
String mbeanDisplayName) |
Builds
MBeanInfo to define attributes, constructors,
operations and notifications to expose to the remote users. |
ModelMBeanInfo |
UniversalConnectionPoolMBeanBase.getMBeanInfo(ObjectName mbeanObjName,
String mbeanDisplayName) |
Builds the MBeanInfo to define attributes, constructors, operations and
notifications to expose to the remote users.
|
String |
UniversalConnectionPoolManagerMBean.getMBeanNameForConnectionPool(String connectionPoolName) |
Gets the MBean Name for the corresponding Universal Connection Pool MBean Object.
|
String |
UniversalConnectionPoolManagerMBeanImpl.getMBeanNameForConnectionPool(String connectionPoolName) |
Gets the MBean Name for the corresponding Universal Connection Pool MBean Object.
|
String |
JDBCUniversalConnectionPoolMBeanImpl.getONSConfiguration() |
Returns the ONS configuration string that is used for remote ONS
subscription, in the form specified in setONSConfiguration(String).
|
ModelMBeanAttributeInfo[] |
UniversalConnectionPoolMBean.getUCPMBeanAttributes() |
Builds the attribute information for the Universal Connection Pool MBean.
|
ModelMBeanAttributeInfo[] |
UniversalConnectionPoolMBeanBase.getUCPMBeanAttributes() |
Builds the Attribute information for UniversalConnectionPoolMBean.
|
ModelMBeanOperationInfo[] |
UniversalConnectionPoolMBean.getUCPMBeanOperations() |
Builds the operation information for the Universal Connection Pool MBean.
|
ModelMBeanOperationInfo[] |
UniversalConnectionPoolMBeanBase.getUCPMBeanOperations() |
Builds the operation information for UniversalConnectionPoolMBean.
|
static UniversalConnectionPoolManager |
UniversalConnectionPoolManagerImpl.getUniversalConnectionPoolManager() |
Returns the static Universal Connection Pool Manager instance.
|
static UniversalConnectionPoolManagerMBean |
UniversalConnectionPoolManagerMBeanImpl.getUniversalConnectionPoolManagerMBean() |
Returns the static UniversalConnectionPoolManagerMBean instance.
|
void |
UniversalConnectionPoolMBean.purge() |
Purges the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.purge() |
Purges the UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.purgeConnectionPool(String poolName) |
Purges the connection pool.
|
void |
UniversalConnectionPoolManagerBase.purgeConnectionPool(String poolName) |
Purges the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.purgeConnectionPool(String poolName) |
Purges the connection pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.purgeConnectionPool(String poolName) |
Purges the connection pool.
|
void |
UniversalConnectionPoolManager.reconfigureConnectionPool(String poolName,
Properties configuration) |
Reconfigures the connection pool.
|
void |
UniversalConnectionPoolManagerBase.reconfigureConnectionPool(String poolName,
Properties configuration) |
Reconfigures the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.reconfigureConnectionPool(String poolName,
Properties configuration) |
Reconfigures the connection pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.reconfigureConnectionPool(String poolName,
Properties configuration) |
Reconfigures the connection pool.
|
void |
UniversalConnectionPoolMBean.recycle() |
Recycles the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.recycle() |
Recycles the UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.recycleConnectionPool(String poolName) |
Recycles the connection pool.
|
void |
UniversalConnectionPoolManagerBase.recycleConnectionPool(String poolName) |
Recycles the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.recycleConnectionPool(String poolName) |
Recycles the connection pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.recycleConnectionPool(String poolName) |
Recycles the connection pool.
|
void |
UniversalConnectionPoolMBean.refresh() |
Refreshes the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.refresh() |
Refreshes the UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.refreshConnectionPool(String poolName) |
Refreshes the connection pool.
|
void |
UniversalConnectionPoolManagerBase.refreshConnectionPool(String poolName) |
Refreshes the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.refreshConnectionPool(String poolName) |
Refreshes the connection pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.refreshConnectionPool(String poolName) |
Refreshes the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.registerUniversalConnectionPoolMBean(UniversalConnectionPoolMBean poolMBean) |
Registers the Universal Connection Pool MBean instance with the MBean
server.
|
void |
UniversalConnectionPoolManagerMBeanImpl.registerUniversalConnectionPoolMBean(UniversalConnectionPoolMBean poolMBean) |
Registers the UniversalConnectionPoolMBean instance with the MBean server.
|
void |
UniversalConnectionPoolMBean.setAbandonedConnectionTimeout(int abandonedConnectionTimeout) |
Sets the abandoned connection timeout of the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBeanBase.setAbandonedConnectionTimeout(int abandonedConnectionTimeout) |
Sets the abandonedConnectionTimeout for UniversalConnectionPool.
|
void |
UniversalConnectionPoolMBean.setConnectionHarvestMaxCount(int connectionHarvestMaxCount) |
Sets the connection harvest maximum count for the Universal Connection
Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.setConnectionHarvestMaxCount(int connectionHarvestMaxCount) |
Sets the connectionHarvestMaxCount for UniversalConnectionPool.
|
void |
UniversalConnectionPoolMBean.setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount) |
Sets the connection harvest trigger count for the Universal Connection
Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount) |
Sets the connectionHarvestTriggerCount for UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.setConnectionPool(UniversalConnectionPool connectionPool) |
Sets the Universal Connection Pool with
the
UniversalConnectionPoolManager Object. |
void |
UniversalConnectionPoolManagerBase.setConnectionPool(UniversalConnectionPool connectionPool) |
Sets the UniversalConnectionPool with UniversalConnectionPoolManager
Object.
|
void |
UniversalConnectionPoolMBean.setConnectionValidationTimeout(int connectionValidationTimeout) |
Connection validation timeout setter
|
void |
UniversalConnectionPoolMBeanBase.setConnectionValidationTimeout(int connectionValidationTimeout) |
|
void |
UniversalConnectionPoolMBean.setConnectionWaitTimeout(int connectionWaitTimeout) |
Sets the connection wait timeout of the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBeanBase.setConnectionWaitTimeout(int connectionWaitTimeout) |
Sets the connectionWaitTimeout for UniversalConnectionPool.
|
void |
JDBCUniversalConnectionPoolMBeanImpl.setFastConnectionFailoverEnabled(boolean failoverEnabled) |
Sets the flag to enable/disable failover on this conneciton pool instance.
|
void |
UniversalConnectionPoolMBean.setInactiveConnectionTimeout(int inactiveConnectionTimeout) |
Sets the inactive connection timeout.
|
void |
UniversalConnectionPoolMBeanBase.setInactiveConnectionTimeout(int inactiveConnectionTimeout) |
Sets the inactiveConnectionTimeout for UniversalConnectionPool.
|
void |
UniversalConnectionPoolMBean.setInitialPoolSize(int initialPoolSize) |
Sets the initial pool size of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.setInitialPoolSize(int initialPoolSize) |
Sets the initialPoolSize for UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.setJmxEnabled(boolean jmxFlag) |
Sets the
jmxFlag to either true or
false. |
void |
UniversalConnectionPoolManagerBase.setJmxEnabled(boolean jmxFlag) |
Sets the jmxFlag to true/false.
|
protected void |
UniversalConnectionPoolManagerBase.setManagerPoolID(String poolName,
String newPoolName) |
Changes the pool mapping for the provided pool in
UniversalConnectionPoolManager Object.
|
void |
UniversalConnectionPoolManagerHelper.setManagerPoolID(String poolName) |
Changes the pool mapping for the provided pool in
UniversalConnectionPoolManager Object.
|
void |
UniversalConnectionPoolMBean.setMaxConnectionReuseCount(int maxConnectionReuseCount) |
Sets the maximum connection reuse count for the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBeanBase.setMaxConnectionReuseCount(int maxConnectionReuseCount) |
Sets the maxConnectionReuseCount for UniversalConnectionPool.
|
void |
UniversalConnectionPoolMBean.setMaxConnectionReuseTime(long maxConnectionReuseTime) |
Sets the maximum connection reuse time for the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBeanBase.setMaxConnectionReuseTime(long maxConnectionReuseTime) |
Sets the maxConnectionReuseTime for UniversalConnectionPool.
|
void |
JDBCUniversalConnectionPoolMBeanImpl.setMaxConnectionsPerService(int maxConnectionsPerService) |
Sets the maximum number of connections that can be obtained to a particular
service, in a shared pool.
|
void |
JDBCUniversalConnectionPoolMBeanImpl.setMaxIdleTime(int idleTime) |
Sets the maximum idle time for available connections in the pool.
|
void |
UniversalConnectionPoolMBean.setMaxPoolSize(int maxPoolSize) |
Sets the maximum pool size of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.setMaxPoolSize(int maxPoolSize) |
Sets the maxPoolSize for UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.setMetricUpdateInterval(int interval) |
Sets the metric update interval value.
|
void |
UniversalConnectionPoolManagerBase.setMetricUpdateInterval(int metricInterval) |
Sets the metric update interval value.
|
void |
UniversalConnectionPoolManagerMBean.setMetricUpdateInterval(int interval) |
Sets the metric update interval value.
|
void |
UniversalConnectionPoolManagerMBeanImpl.setMetricUpdateInterval(int interval) |
Sets the metric update interval value.
|
void |
UniversalConnectionPoolMBean.setMinPoolSize(int minPoolSize) |
Sets the minimum pool size of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.setMinPoolSize(int minPoolSize) |
Sets the initialPoolSize for UniversalConnectionPool.
|
void |
UniversalConnectionPoolMBean.setName(String name) |
Sets the name of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.setName(String name) |
Sets the name of the UniversalConnectionPool.
|
void |
JDBCUniversalConnectionPoolMBeanImpl.setONSConfiguration(String onsConfigStr) |
This method sets the configuration string used for remote ONS
subscription.
|
void |
JDBCUniversalConnectionPoolMBeanImpl.setPropertyCycle(int propertyCycle) |
Sets the property cycle in seconds.
|
void |
UniversalConnectionPoolMBean.setSecondsToTrustIdleConnection(int secondsToTrustIdleConnection) |
Sets the time in seconds to trust an idle connection to skip a validation
test.
|
void |
UniversalConnectionPoolMBeanBase.setSecondsToTrustIdleConnection(int secondsToTrustIdleConnection) |
|
void |
UniversalConnectionPoolMBean.setTimeoutCheckInterval(int timeoutCheckInterval) |
Sets the timeout check interval of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.setTimeoutCheckInterval(int timeoutCheckInterval) |
Sets the timeoutCheckInterval for UniversalConnectionPool.
|
void |
UniversalConnectionPoolMBean.setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout) |
Sets the time to live connection timeout of the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBeanBase.setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout) |
Sets the timeToLiveConnectionTimeout for UniversalConnectionPool.
|
void |
UniversalConnectionPoolMBean.start() |
Starts the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.start() |
Starts the UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.startConnectionPool(String poolName) |
Starts the connection pool instance with the given name.
|
void |
UniversalConnectionPoolManagerBase.startConnectionPool(String poolName) |
Starts the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.startConnectionPool(String poolName) |
Starts the connection pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.startConnectionPool(String poolName) |
Starts the connection pool.
|
void |
UniversalConnectionPoolManager.startMetricsCollection(String poolName) |
Starts metric collection for the provided pool.
|
void |
UniversalConnectionPoolManagerBase.startMetricsCollection(String poolName) |
Starts metric collection for the provided pool.
|
void |
UniversalConnectionPoolManagerMBean.startMetricsCollection(String poolName) |
Starts metric collection for the provided pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.startMetricsCollection(String poolName) |
Starts metric collection for the provided pool.
|
void |
UniversalConnectionPoolMBean.stop() |
Stops the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBeanBase.stop() |
Stops the UniversalConnectionPool.
|
void |
UniversalConnectionPoolManager.stopConnectionPool(String poolName) |
Stops the connection pool.
|
void |
UniversalConnectionPoolManagerBase.stopConnectionPool(String poolName) |
Stops the connection pool.
|
void |
UniversalConnectionPoolManagerMBean.stopConnectionPool(String poolName) |
Stops the connection pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.stopConnectionPool(String poolName) |
Stops the connection pool.
|
void |
UniversalConnectionPoolManager.stopMetricsCollection(String poolName) |
Stops metric collection for the provided pool.
|
void |
UniversalConnectionPoolManagerBase.stopMetricsCollection(String poolName) |
Stops metric collection for the provided pool.
|
void |
UniversalConnectionPoolManagerMBean.stopMetricsCollection(String poolName) |
Stops metric collection for the provided pool.
|
void |
UniversalConnectionPoolManagerMBeanImpl.stopMetricsCollection(String poolName) |
Stops metric collection for the provided pool.
|
void |
UniversalConnectionPoolManagerMBean.unregisterUniversalConnectionPoolMBean(String poolName) |
Unregisters the Universal Connection Pool MBean from the MBean server.
|
void |
UniversalConnectionPoolManagerMBeanImpl.unregisterUniversalConnectionPoolMBean(String poolName) |
Unregisters the UniversalConnectionPoolMBean from the MBean server.
|
| Constructor | Description |
|---|---|
JDBCUniversalConnectionPoolMBeanImpl(UniversalConnectionPool connectionPool) |
Constructor for JDBCUniversalConnectionPoolMBeanImpl.
|
UniversalConnectionPoolManagerHelper(UniversalConnectionPool connectionPool) |
Constructor for UniversalConnectionPoolManagerHelper.
|
UniversalConnectionPoolMBeanBase(UniversalConnectionPool connectionPool) |
Constructor for UniversalConnectionPoolMBeanBase.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
JDBCConnectionRetrievalInfo.addLabel(String key,
String value) |
Adds a connection label to this connection retrieval information object.
|
UniversalPooledConnection |
JDBCConnectionPool.borrowConnection(ConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a Universal Pooled Connection from the base pool and enables the
statement caching when qualified.
|
boolean |
ConnectionConnectionPool.closeConnection(Connection connection) |
Closes the
java.sql.Connection. |
void |
ConnectionPoolDataSourceConnectionFactoryAdapter.closeConnection(Object connection) |
Closes the pooled connection.
|
void |
DataSourceConnectionFactoryAdapter.closeConnection(Object connection) |
Closes the
java.sql.Connection. |
void |
DriverConnectionFactoryAdapter.closeConnection(Object connection) |
Closes the
java.sql.Connection. |
void |
XADataSourceConnectionFactoryAdapter.closeConnection(Object connection) |
Closes the XA connection.
|
boolean |
PooledConnectionConnectionPool.closePooledConnection(PooledConnection pooledConnection) |
Closes the
javax.sql.PooledConnection. |
boolean |
XAConnectionConnectionPool.closeXAConnection(XAConnection xaConnection) |
Closes the
javax.sql.XAConnection. |
Object |
ConnectionPoolDataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
Creates a
javax.sql.PooledConnection. |
Object |
DataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
Creates a physical
java.sql.Connection. |
Object |
DriverConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
Creates a physical
java.sql.Connection. |
Object |
XADataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
Creates a
javax.sql.XAConnection. |
UniversalPooledConnection |
JDBCConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo) |
Creates a
UniversalPooledConnection object. |
Connection |
ConnectionConnectionPool.getConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a
java.sql.Connection from the connection pool. |
PooledConnection |
PooledConnectionConnectionPool.getPooledConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a
javax.sql.PooledConnection from the connection pool. |
XAConnection |
XAConnectionConnectionPool.getXAConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a
javax.sql.XAConnection from the connection pool. |
static void |
DatasourceConfigManager.init() |
|
protected void |
JDBCUniversalPooledConnection.initFailoverParameters() |
|
void |
JDBCConnectionPool.registerConnectionInitializationCallback(ConnectionInitializationCallback cbk) |
Registers
ConnectionInitializationCallback with this connection
pool. |
void |
JDBCConnectionRetrievalInfo.removeLabel(String key) |
Removes the connection label with the given key from this connection
retrieval information object.
|
boolean |
ConnectionConnectionPool.returnConnection(Connection connection) |
Returns a
java.sql.Connection back into the connection pool. |
boolean |
PooledConnectionConnectionPool.returnPooledConnection(PooledConnection pooledConnection) |
Returns a
javax.sql.PooledConnection back into the
connection pool. |
boolean |
XAConnectionConnectionPool.returnXAConnection(XAConnection xaConnection) |
Returns a
javax.sql.XAConnection back into the connection
pool. |
void |
JDBCConnectionPool.unregisterConnectionInitializationCallback() |
Removes the
ConnectionInitializationCallback object registered
with this connection pool, if any. |
protected void |
PooledConnectionConnectionPool.validateConstructor(JDBCConnectionFactoryAdapter connectionFactoryAdapter) |
Makes sure the constructor is valid.
|
protected void |
XAConnectionConnectionPool.validateConstructor(JDBCConnectionFactoryAdapter connectionFactoryAdapter) |
Makes sure the constructor is valid.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
FailoverablePooledConnection.abort() |
|
UniversalPooledConnection |
OracleConnectionConnectionPool.borrowConnection(ConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a connection from the connection pool.
|
UniversalPooledConnection |
OracleJDBCConnectionPool.borrowConnection(ConnectionRetrievalInfo cri) |
|
void |
RACManager.cleanupConnectionsForDownEvent(FailoverablePooledConnection[] aconns,
FailoverablePooledConnection[] bconns,
OracleFailoverEvent event) |
|
void |
FailoverablePooledConnection.close(boolean isConnectionBorrowed) |
|
void |
OracleUniversalPooledConnection.close(boolean isConnectionBorrowed) |
Closes the underlying physical connection.
|
boolean |
OracleConnectionConnectionPool.closeConnection(Connection connection) |
Closes the
java.sql.Connection. |
boolean |
OraclePooledConnectionConnectionPool.closePooledConnection(PooledConnection pooledConnection) |
Closes the
javax.sql.PooledConnection. |
boolean |
OracleXAConnectionConnectionPool.closeXAConnection(XAConnection xaConnection) |
Closes the
javax.sql.XAConnection. |
void |
RACManager.connectionClosed(FailoverablePooledConnection fpc) |
|
void |
RACManagerImpl.connectionClosed(FailoverablePooledConnection fpc) |
|
void |
RACManager.connectionOpened(FailoverablePooledConnection fpc) |
|
void |
RACManagerImpl.connectionOpened(FailoverablePooledConnection fpc) |
|
Object |
OracleConnectionPoolDataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
|
Object |
OracleDataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
|
Object |
OracleDriverConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
|
Object |
OracleXADataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
|
Object |
ReplayDataSourceConnectionFactoryAdapter.createConnection(ConnectionRetrievalInfo connectionRequestInfo) |
|
UniversalPooledConnection |
OracleJDBCConnectionPool.createOnePooledConnection(ConnectionRetrievalInfo cri) |
Creates a physical connection in the pool based on the
ConnectionRetrievalInfo
|
UniversalPooledConnection |
OracleConnectionPoolDataSourceConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo) |
Creates a
UniversalPooledConnection object. |
UniversalPooledConnection |
OracleDataSourceConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo) |
Creates a UniversalPooledConnection object.
|
UniversalPooledConnection |
OracleDriverConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo) |
Creates a UniversalPooledConnection object.
|
UniversalPooledConnection |
OracleXADataSourceConnectionFactoryAdapter.createPooledConnection(Object connection,
ConnectionRetrievalInfo connectionRequestInfo) |
Creates a
UniversalPooledConnection object. |
oracle.ucp.routing.oracle.ShardManager |
RACManager.createShardManager() |
|
oracle.ucp.routing.oracle.ShardManager |
RACManagerImpl.createShardManager() |
|
protected Properties |
OracleUniversalPooledConnection.findUnmatchedTags(Properties requestedLabels) |
Compares the requested labels and DRCP return tag and returns the unmatched tags
|
protected void |
RACManagerImpl.getAutoONSConfigurationFromServer() |
|
Collection<FailoverablePooledConnection> |
OracleJDBCConnectionPool.getAvailableConnections(ConnectionRetrievalInfo cri) |
|
Collection<FailoverablePooledConnection> |
RACCallback.getAvailableConnections(ConnectionRetrievalInfo cri) |
|
Collection<FailoverablePooledConnection> |
RACCallbackGuard.getAvailableConnections(ConnectionRetrievalInfo cri) |
|
FailoverablePooledConnection |
OracleJDBCConnectionPool.getAvailableConnectionToInstance(ConnectionRetrievalInfo cri,
RACInstance racInstance) |
|
FailoverablePooledConnection |
RACCallback.getAvailableConnectionToInstance(ConnectionRetrievalInfo cri,
RACInstance racInstance) |
|
FailoverablePooledConnection |
RACCallbackGuard.getAvailableConnectionToInstance(ConnectionRetrievalInfo cri,
RACInstance racInstance) |
|
Connection |
OracleConnectionConnectionPool.getConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a
java.sql.Connection from the connection pool. |
Properties |
FailoverablePooledConnection.getConnectionInfo() |
|
Properties |
OracleUniversalPooledConnection.getConnectionInfo() |
|
int |
FailoverablePooledConnection.getDatabaseVersion() |
|
static int |
FailoverablePooledConnectionHelper.getDatabaseVersion(Connection oconn) |
|
int |
OracleUniversalPooledConnection.getDatabaseVersion() |
|
protected String |
OracleConnectionConnectionPool.getDRCPPLSQLCallbackName(UniversalPooledConnection pc) |
Returns the PL/SQL Fix-up callback name if configured,
otherwise returns
Null. |
protected String |
OracleJDBCConnectionPool.getDRCPPLSQLCallbackName(UniversalPooledConnection pc) |
DRCP featue is currently available only for OracleConnectionConnectionPool
so returning
Null by default. |
String |
OracleUniversalPooledConnection.getDRCPPLSQLCallbackName() |
Returns the PL/SQL Fix-up callback name if configured for the given connection,
otherwise returns
Null. |
String |
OracleUniversalPooledConnection.getDRCPReturnTag() |
Returns the tag associated with this DRCP pooled server.
|
protected oracle.ons.ONS |
RACManagerImpl.getONS() |
|
PooledConnection |
OraclePooledConnectionConnectionPool.getPooledConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a
javax.sql.PooledConnection from the connection pool. |
static RACManager |
RACManagerFactory.getRACManager() |
|
static RACManager |
RACManagerFactory.getRACManager(Properties configProperties) |
|
static RACManager |
RACManagerFactory.getRACManager(Properties configProperties,
TaskManager taskMngr,
TimerManager timerMngr) |
|
Properties |
OracleUniversalPooledConnection.getUnmatchedConnectionLabels(Properties requestedLabels) |
This is overridden to handle DRCP tagging case.
|
XAConnection |
OracleXAConnectionConnectionPool.getXAConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a
javax.sql.XAConnection from the connection pool. |
void |
RACManagerImpl.handleFailoverEvent(oracle.ucp.common.FailoverEvent event) |
|
protected void |
OracleUniversalPooledConnection.initFailoverParameters() |
|
void |
RACCallback.initiateDownEventProcessing(OracleFailoverEvent event) |
|
void |
RACCallbackGuard.initiateDownEventProcessing(OracleFailoverEvent event) |
|
int |
RACCallback.initiateUpEventProcessing(OracleFailoverEvent event) |
|
int |
RACCallbackGuard.initiateUpEventProcessing(OracleFailoverEvent event) |
|
protected void |
RACManagerImpl.initRuntimeLoadBalancing(String serviceName) |
|
protected boolean |
OracleConnectionConnectionPool.isDRCPEnabled(UniversalPooledConnection pc) |
|
protected boolean |
OracleJDBCConnectionPool.isDRCPEnabled(UniversalPooledConnection pc) |
DRCP feature is currently available only for OracleConnectionConnectionPool
so returing
false by default. |
protected boolean |
OracleConnectionConnectionPool.isDRCPMultiTagEnabled(UniversalPooledConnection pc) |
Returns true if DRCP Multitag is enabled false otherwise.
|
protected boolean |
OracleJDBCConnectionPool.isDRCPMultiTagEnabled(UniversalPooledConnection pc) |
DRCP feature is currently available only for OracleConnectionConnectionPool
so returing
false by default. |
void |
OracleJDBCConnectionPool.lbaEventOccurred(OracleLoadBalancingEvent rlbEvent) |
|
void |
RACCallback.lbaEventOccurred(OracleLoadBalancingEvent rlbEvent) |
|
void |
RACCallbackGuard.lbaEventOccurred(OracleLoadBalancingEvent rlbEvent) |
|
void |
RACManager.markDownConnectionsForDownEvent(FailoverablePooledConnection[] aconns,
FailoverablePooledConnection[] bconns,
OracleFailoverEvent event) |
|
protected boolean |
OracleConnectionConnectionPool.needToConfigureConnection(UniversalPooledConnection pc,
Properties requestedLabels) |
While using DRCP the connection selection is done by DRCP machinery and
UCP does not have any control over the selection.
|
FailoverablePooledConnection |
RACCallback.openNewConnection(String url,
RACInstance racInstance) |
|
FailoverablePooledConnection |
RACCallbackGuard.openNewConnection(String url,
RACInstance racInstance) |
|
int |
RACManager.processUpEvent(FailoverablePooledConnection[] aconns,
FailoverablePooledConnection[] bconns,
int initialPoolSize,
int maxPoolSize,
OracleFailoverEvent event) |
|
int |
RACManagerImpl.processUpEvent(FailoverablePooledConnection[] aconns,
FailoverablePooledConnection[] bconns,
int initialPoolSize,
int maxPoolSize,
OracleFailoverEvent failoverEvent) |
|
oracle.ons.Notification |
OracleFailoverEventSubscriber.receive() |
Receives a notification.
|
void |
OracleJDBCConnectionPool.registerConnectionAffinityCallback(ConnectionAffinityCallback affCbk) |
|
void |
RACManager.registerConnectionAffinityCallback(ConnectionAffinityCallback cbk) |
|
void |
RACManagerImpl.registerConnectionAffinityCallback(ConnectionAffinityCallback cbk) |
|
void |
RACManager.registerRACCallback(RACCallback cbk) |
|
void |
OracleJDBCConnectionPool.removeConnectionAffinityCallback() |
Removes the connection affinity callback registered on the connection pool.
|
boolean |
OracleConnectionConnectionPool.returnConnection(Connection connection) |
Returns a
java.sql.Connection back into the connection pool. |
void |
OracleConnectionConnectionPool.returnConnection(UniversalPooledConnection upc) |
|
boolean |
OraclePooledConnectionConnectionPool.returnPooledConnection(PooledConnection pooledConnection) |
Returns a
javax.sql.PooledConnection back into the
connection pool. |
boolean |
OracleXAConnectionConnectionPool.returnXAConnection(XAConnection xaConnection) |
Returns a
javax.sql.XAConnection back into the connection
pool. |
protected FailoverablePooledConnection |
RACManagerImpl.selectConnectionPerDataBasedAffinity(ConnectionRetrievalInfo cri) |
|
FailoverablePooledConnection |
RACManager.selectConnectionPerRCLB(ConnectionRetrievalInfo cri) |
|
FailoverablePooledConnection |
RACManagerImpl.selectConnectionPerRCLB(ConnectionRetrievalInfo cri) |
|
FailoverablePooledConnection |
RACManager.selectConnectionPerRCLBAndAffinity(ConnectionRetrievalInfo cri) |
|
FailoverablePooledConnection |
RACManagerImpl.selectConnectionPerRCLBAndAffinity(ConnectionRetrievalInfo cri) |
|
void |
OracleFailoverEventImpl.setEventType(String eventType) |
|
void |
RACManagerImpl.setFailoverInfo(Object info) |
|
void |
RACManager.setONSConfiguration(String onsConfigStr) |
|
void |
RACManagerImpl.setONSConfiguration(String onsConfigStr) |
|
void |
RACManagerImpl.setRuntimeLoadBalancingEnabled(boolean RLBEnabled) |
|
void |
FailoverablePooledConnection.setStatus(UniversalPooledConnectionStatus status) |
|
void |
OracleJDBCConnectionPool.start() |
Starts the connection pool.
|
void |
OracleReplayableConnectionConnectionPool.start() |
|
void |
RACManager.start() |
|
void |
RACManagerImpl.start() |
|
void |
RACManager.stop() |
|
void |
RACManagerImpl.stop() |
|
protected void |
RACManagerImpl.terminateRuntimeLoadBalancing() |
|
void |
RACManager.unregisterConnectionAffinityCallback(ConnectionAffinityCallback cbk) |
|
void |
RACManagerImpl.unregisterConnectionAffinityCallback(ConnectionAffinityCallback cbk) |
|
void |
RACManager.unregisterRACCallback(RACCallback cbk) |
|
protected void |
OracleXAConnectionConnectionPool.validateConstructor(JDBCConnectionFactoryAdapter connectionFactoryAdapter) |
Makes sure the constructor is valid.
|
| Modifier and Type | Method | Description |
|---|---|---|
static UniversalConnectionPoolException |
UCPErrorHandler.newUniversalConnectionPoolException(int errorNumber) |
|
static UniversalConnectionPoolException |
UCPErrorHandler.newUniversalConnectionPoolException(int errorNumber,
Object obj) |
|
static UniversalConnectionPoolException |
UCPErrorHandler.newUniversalConnectionPoolException(int exceptionId,
String reason,
int vendorCode) |
|
static UniversalConnectionPoolException |
UCPErrorHandler.newUniversalConnectionPoolException(int errorNumber,
Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
UCPErrorHandler.throwUniversalConnectionPoolException(UniversalConnectionPoolException cause) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
UCPErrorHandler.throwUniversalConnectionPoolException(int errorNumber) |
|
static void |
UCPErrorHandler.throwUniversalConnectionPoolException(int errorNumber,
Throwable cause) |
Exception handling methods
|
static void |
UCPErrorHandler.throwUniversalConnectionPoolException(Throwable e) |
|
static void |
UCPErrorHandler.throwUniversalConnectionPoolException(UniversalConnectionPoolException cause) |
Copyright © 2008, 2017, Oracle. All rights reserved.