Uses of Class
oracle.ucp.UniversalConnectionPoolException
-
Packages that use UniversalConnectionPoolException Package Description oracle.ucp oracle.ucp.admin -
-
Uses of UniversalConnectionPoolException in oracle.ucp
Subclasses of UniversalConnectionPoolException in oracle.ucp Modifier and Type Class Description class
NoAvailableConnectionsException
An exception indicating that there are no available connections in the connection pool.Methods in oracle.ucp that throw UniversalConnectionPoolException Modifier and Type Method Description void
ConnectionRetrievalInfo. addLabel(java.lang.String key, java.lang.String value)
Adds a connection label to this connection retrieval info object.void
UniversalPooledConnection. applyConnectionLabel(java.lang.String key, java.lang.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(java.lang.Object connection)
Closes the given connection.void
UniversalConnectionPool. closeConnection(UniversalPooledConnection pooledConnection)
Closes the pooled connection.java.lang.Object
ConnectionFactoryAdapter. createConnection(ConnectionRetrievalInfo connectionRequestInfo)
Creates a connection.UniversalPooledConnection
ConnectionFactoryAdapter. createPooledConnection(java.lang.Object connection, ConnectionRetrievalInfo connectionRequestInfo)
Creates a UniversalPooledConnection object.AbandonedConnectionTimeoutCallback
UniversalPooledConnection. getAbandonedConnectionTimeoutCallback()
Obtains theAbandonedConnectionTimeoutCallback
registered with this connection.ConnectionHarvestingCallback
UniversalPooledConnection. getConnectionHarvestingCallback()
Obtains theConnectionHarvestingCallback
registered with this connection.java.util.Properties
UniversalPooledConnection. getConnectionLabels()
Retrieves all the connection labels applied on this connection.TimeToLiveConnectionTimeoutCallback
UniversalPooledConnection. getTimeToLiveConnectionTimeoutCallback()
Obtains theTimeToLiveConnectionTimeoutCallback
registered with this connection.java.util.Properties
UniversalPooledConnection. getUnmatchedConnectionLabels(java.util.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(java.util.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 anAbandonedConnectionTimeoutCallback
with this connection.void
UniversalConnectionPool. registerConnectionAffinityCallback(ConnectionAffinityCallback cbk)
Registers aConnectionAffinityCallback
objet on the connection pool.void
UniversalPooledConnection. registerConnectionHarvestingCallback(ConnectionHarvestingCallback cbk)
Registers aConnectionHarvestingCallback
with this connection.void
UniversalConnectionPool. registerConnectionLabelingCallback(ConnectionLabelingCallback cbk)
Registers aConnectionLabelingCallback
object with this connection pool.void
UniversalPooledConnection. registerTimeToLiveConnectionTimeoutCallback(TimeToLiveConnectionTimeoutCallback cbk)
Registers aTimeToLiveConnectionTimeoutCallback
with this connection.void
UniversalPooledConnection. removeAbandonedConnectionTimeoutCallback()
Removes theAbandonedConnectionTimeoutCallback
object registered with this connection, if any.void
UniversalConnectionPool. removeConnectionAffinityCallback()
Removes theConnectionAffinityCallback
object registered on the connection pool.void
UniversalPooledConnection. removeConnectionHarvestingCallback()
Removes theConnectionHarvestingCallback
object registered with this connection, if any.void
UniversalPooledConnection. removeConnectionLabel(java.lang.String key)
Removes the connection label with the given key from the connection labels applied on this connection.void
UniversalConnectionPool. removeConnectionLabelingCallback()
Removes theConnectionLabelingCallback
object registered with this connection pool, if any.void
ConnectionRetrievalInfo. removeLabel(java.lang.String key)
Removes the connection label with the given key from this connection retrieval info object.void
UniversalPooledConnection. removeTimeToLiveConnectionTimeoutCallback()
Removes theTimeToLiveConnectionTimeoutCallback
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(java.lang.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. setConnectionWaitDuration(java.time.Duration waitDuration)
Configures how much time a connection request call may wait before it either successfully returns a connection or throws an exception.void
UniversalConnectionPool. setConnectionWaitTimeout(int waitTimeout)
Deprecated.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. setMinIdle(int minIdle)
Sets the minimum number of idle 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.default void
UniversalConnectionPool. start()
if keepMetadataConn is not specified, assume it is "false".void
UniversalConnectionPool. start(ConnectionRetrievalInfo connectionRetrievalInfo, boolean keepMetadataConn)
Starts the connection pool.void
UniversalConnectionPool. stop()
Stops the connection pool. -
Uses of UniversalConnectionPoolException in oracle.ucp.admin
Methods in oracle.ucp.admin that throw UniversalConnectionPoolException Modifier and Type Method Description void
UniversalConnectionPoolManager. 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.void
UniversalConnectionPoolManager. destroyConnectionPool(java.lang.String poolName)
Destroys the connection pool.void
UniversalConnectionPoolManagerMBean. destroyConnectionPool(java.lang.String poolName)
Destroys the connection pool.UniversalConnectionPool
UniversalConnectionPoolManager. getConnectionPool(java.lang.String poolName)
Gets the Universal Connection Pool instance from the Universal Connection Pool Manager.UniversalConnectionPoolLifeCycleState
UniversalConnectionPoolManagerMBean. getConnectionPoolLifeCycleState(java.lang.String poolName)
Gets the life cycle state of the Universal Connection Pool.java.lang.String[]
UniversalConnectionPoolManager. getConnectionPoolNames()
Gets all the pool names managed by the Universal Connection Pool Manager.java.lang.String[]
UniversalConnectionPoolManagerMBean. getConnectionPoolNames()
Gets all the pool names managed by the Universal Connection Pool Manager.javax.management.modelmbean.ModelMBeanInfo
UniversalConnectionPoolMBean. getMBeanInfo(javax.management.ObjectName mbeanObjName, java.lang.String mbeanDisplayName)
BuildsMBeanInfo
to define attributes, constructors, operations and notifications to expose to the remote users.java.lang.String
UniversalConnectionPoolManagerMBean. getMBeanNameForConnectionPool(java.lang.String connectionPoolName)
Gets the MBean Name for the corresponding Universal Connection Pool MBean Object.javax.management.modelmbean.ModelMBeanAttributeInfo[]
UniversalConnectionPoolMBean. getUCPMBeanAttributes()
Builds the attribute information for the Universal Connection Pool MBean.javax.management.modelmbean.ModelMBeanOperationInfo[]
UniversalConnectionPoolMBean. getUCPMBeanOperations()
Builds the operation information for the Universal Connection Pool MBean.static UniversalConnectionPoolManager
UniversalConnectionPoolManagerImpl. getUniversalConnectionPoolManager()
Returns the static Universal Connection Pool Manager instance.static UniversalConnectionPoolManager
UniversalConnectionPoolManagerImpl. getUniversalConnectionPoolManager(Diagnosable diagnosticsCollector)
Returns the static Universal Connection Pool Manager instance.void
UniversalConnectionPoolMBean. purge()
Purges the Universal Connection Pool instance.void
UniversalConnectionPoolManager. purgeConnectionPool(java.lang.String poolName)
Purges the connection pool.void
UniversalConnectionPoolManagerMBean. purgeConnectionPool(java.lang.String poolName)
Purges the connection pool.void
UniversalConnectionPoolManager. reconfigureConnectionPool(java.lang.String poolName, java.util.Properties configuration)
Reconfigures the connection pool.void
UniversalConnectionPoolManagerMBean. reconfigureConnectionPool(java.lang.String poolName, java.util.Properties configuration)
Reconfigures the connection pool.void
UniversalConnectionPoolMBean. recycle()
Recycles the Universal Connection Pool instance.void
UniversalConnectionPoolManager. recycleConnectionPool(java.lang.String poolName)
Recycles the connection pool.void
UniversalConnectionPoolManagerMBean. recycleConnectionPool(java.lang.String poolName)
Recycles the connection pool.void
UniversalConnectionPoolMBean. refresh()
Refreshes the Universal Connection Pool instance.void
UniversalConnectionPoolManager. refreshConnectionPool(java.lang.String poolName)
Refreshes the connection pool.void
UniversalConnectionPoolManagerMBean. refreshConnectionPool(java.lang.String poolName)
Refreshes the connection pool.void
UniversalConnectionPoolManagerMBean. registerUniversalConnectionPoolMBean(UniversalConnectionPoolMBean poolMBean)
Registers the Universal Connection Pool MBean instance with the MBean server.void
UniversalConnectionPoolMBean. setAbandonedConnectionTimeout(java.lang.Integer abandonedConnectionTimeout)
Sets the abandoned connection timeout of the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setConnectionHarvestMaxCount(java.lang.Integer connectionHarvestMaxCount)
Sets the connection harvest maximum count for the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setConnectionHarvestTriggerCount(java.lang.Integer connectionHarvestTriggerCount)
Sets the connection harvest trigger count for the Universal Connection Pool instance.void
UniversalConnectionPoolManager. setConnectionPool(UniversalConnectionPool connectionPool)
Sets the Universal Connection Pool with theUniversalConnectionPoolManager
Object.void
UniversalConnectionPoolMBean. setConnectionValidationTimeout(java.lang.Integer connectionValidationTimeout)
Connection validation timeout settervoid
UniversalConnectionPoolMBean. setConnectionWaitDuration(java.time.Duration connectionWaitDuration)
Configures how much time a connection request call may wait before it either successfully returns a connection or throws an exception.void
UniversalConnectionPoolMBean. setConnectionWaitTimeout(java.lang.Integer connectionWaitTimeout)
Deprecated.void
UniversalConnectionPoolMBean. setInactiveConnectionTimeout(java.lang.Integer inactiveConnectionTimeout)
Sets the inactive connection timeout.void
UniversalConnectionPoolMBean. setInitialPoolSize(java.lang.Integer initialPoolSize)
Sets the initial pool size of the Universal Connection Pool instance.void
UniversalConnectionPoolManager. setJmxEnabled(boolean jmxFlag)
Sets thejmxFlag
to eithertrue
orfalse
.void
UniversalConnectionPoolMBean. setMaxConnectionReuseCount(java.lang.Integer maxConnectionReuseCount)
Sets the maximum connection reuse count for the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setMaxConnectionReuseTime(java.lang.Long maxConnectionReuseTime)
Sets the maximum connection reuse time for the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setMaxPoolSize(java.lang.Integer maxPoolSize)
Sets the maximum pool size of the Universal Connection Pool instance.void
UniversalConnectionPoolManager. setMetricUpdateInterval(int interval)
Sets the metric update interval value.void
UniversalConnectionPoolManagerMBean. setMetricUpdateInterval(java.lang.Integer interval)
Sets the metric update interval value.void
UniversalConnectionPoolMBean. setMinIdle(java.lang.Integer minIdle)
Sets the minimum idle connections of the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setMinPoolSize(java.lang.Integer minPoolSize)
Sets the minimum pool size of the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setName(java.lang.String name)
Sets the name of the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setSecondsToTrustIdleConnection(java.lang.Integer secondsToTrustIdleConnection)
Sets the time in seconds to trust an idle connection to skip a validation test.void
UniversalConnectionPoolMBean. setTimeoutCheckInterval(java.lang.Integer timeoutCheckInterval)
Sets the timeout check interval of the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. setTimeToLiveConnectionTimeout(java.lang.Integer timeToLiveConnectionTimeout)
Sets the time to live connection timeout of the Universal Connection Pool instance.void
UniversalConnectionPoolMBean. start()
Starts the Universal Connection Pool instance.void
UniversalConnectionPoolManager. startConnectionPool(java.lang.String poolName)
Starts the connection pool instance with the given name.void
UniversalConnectionPoolManagerMBean. startConnectionPool(java.lang.String poolName)
Starts the connection pool.void
UniversalConnectionPoolManager. startMetricsCollection(java.lang.String poolName)
Starts metric collection for the provided pool.void
UniversalConnectionPoolManagerMBean. startMetricsCollection(java.lang.String poolName)
Starts metric collection for the provided pool.void
UniversalConnectionPoolMBean. stop()
Stops the Universal Connection Pool instance.void
UniversalConnectionPoolManager. stopConnectionPool(java.lang.String poolName)
Stops the connection pool.void
UniversalConnectionPoolManagerMBean. stopConnectionPool(java.lang.String poolName)
Stops the connection pool.void
UniversalConnectionPoolManager. stopMetricsCollection(java.lang.String poolName)
Stops metric collection for the provided pool.void
UniversalConnectionPoolManagerMBean. stopMetricsCollection(java.lang.String poolName)
Stops metric collection for the provided pool.void
UniversalConnectionPoolManagerMBean. unregisterUniversalConnectionPoolMBean(java.lang.String poolName)
Unregisters the Universal Connection Pool MBean from the MBean server.
-