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 classNoAvailableConnectionsExceptionAn exception indicating that there are no available connections in the connection pool.Methods in oracle.ucp that throw UniversalConnectionPoolException Modifier and Type Method Description voidConnectionRetrievalInfo. addLabel(java.lang.String key, java.lang.String value)Adds a connection label to this connection retrieval info object.voidUniversalPooledConnection. applyConnectionLabel(java.lang.String key, java.lang.String value)Applies a connection label on a borrowed connection.UniversalPooledConnectionUniversalConnectionPool. borrowConnection(ConnectionRetrievalInfo connectionRetrievalInfo)Gets a connection from the connection pool.voidConnectionFactoryAdapter. closeConnection(java.lang.Object connection)Closes the given connection.voidUniversalConnectionPool. closeConnection(UniversalPooledConnection pooledConnection)Closes the pooled connection.java.lang.ObjectConnectionFactoryAdapter. createConnection(ConnectionRetrievalInfo connectionRequestInfo)Creates a connection.UniversalPooledConnectionConnectionFactoryAdapter. createPooledConnection(java.lang.Object connection, ConnectionRetrievalInfo connectionRequestInfo)Creates a UniversalPooledConnection object.AbandonedConnectionTimeoutCallbackUniversalPooledConnection. getAbandonedConnectionTimeoutCallback()Obtains theAbandonedConnectionTimeoutCallbackregistered with this connection.ConnectionHarvestingCallbackUniversalPooledConnection. getConnectionHarvestingCallback()Obtains theConnectionHarvestingCallbackregistered with this connection.java.util.PropertiesUniversalPooledConnection. getConnectionLabels()Retrieves all the connection labels applied on this connection.TimeToLiveConnectionTimeoutCallbackUniversalPooledConnection. getTimeToLiveConnectionTimeoutCallback()Obtains theTimeToLiveConnectionTimeoutCallbackregistered with this connection.java.util.PropertiesUniversalPooledConnection. 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.voidUniversalConnectionPool. purge()Removes all connections from the connection pool.voidUniversalConnectionPool. 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.voidUniversalConnectionPool. recycle()Allows only invalid available connections in the pool to be replaced with new/fresh connections.voidUniversalConnectionPool. refresh()Allows connections in the pool, both borrowed and available ones, to be replaced with new/fresh connections.voidUniversalPooledConnection. registerAbandonedConnectionTimeoutCallback(AbandonedConnectionTimeoutCallback cbk)Registers anAbandonedConnectionTimeoutCallbackwith this connection.voidUniversalConnectionPool. registerConnectionAffinityCallback(ConnectionAffinityCallback cbk)Registers aConnectionAffinityCallbackobjet on the connection pool.voidUniversalPooledConnection. registerConnectionHarvestingCallback(ConnectionHarvestingCallback cbk)Registers aConnectionHarvestingCallbackwith this connection.voidUniversalConnectionPool. registerConnectionLabelingCallback(ConnectionLabelingCallback cbk)Registers aConnectionLabelingCallbackobject with this connection pool.voidUniversalPooledConnection. registerTimeToLiveConnectionTimeoutCallback(TimeToLiveConnectionTimeoutCallback cbk)Registers aTimeToLiveConnectionTimeoutCallbackwith this connection.voidUniversalPooledConnection. removeAbandonedConnectionTimeoutCallback()Removes theAbandonedConnectionTimeoutCallbackobject registered with this connection, if any.voidUniversalConnectionPool. removeConnectionAffinityCallback()Removes theConnectionAffinityCallbackobject registered on the connection pool.voidUniversalPooledConnection. removeConnectionHarvestingCallback()Removes theConnectionHarvestingCallbackobject registered with this connection, if any.voidUniversalPooledConnection. removeConnectionLabel(java.lang.String key)Removes the connection label with the given key from the connection labels applied on this connection.voidUniversalConnectionPool. removeConnectionLabelingCallback()Removes theConnectionLabelingCallbackobject registered with this connection pool, if any.voidConnectionRetrievalInfo. removeLabel(java.lang.String key)Removes the connection label with the given key from this connection retrieval info object.voidUniversalPooledConnection. removeTimeToLiveConnectionTimeoutCallback()Removes theTimeToLiveConnectionTimeoutCallbackobject registered with this connection, if any.voidUniversalConnectionPool. returnConnection(UniversalPooledConnection pooledConnection)Returns a connection back into the connection pool.voidUniversalConnectionPool. setAbandonedConnectionTimeout(int abandonedConnectionTimeout)Sets the abandoned connection timeout.voidUniversalPooledConnection. setConnectionHarvestable(boolean isConnectionHarvestable)Specifies whether this connection is harvestable.voidUniversalConnectionPool. setConnectionHarvestMaxCount(int connectionHarvestMaxCount)Sets the maximum number of connections that may be harvested when the connection harvesting occurs.voidUniversalConnectionPool. setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount)Sets the number of available connections below which the connection pool's connection harvesting occurs.voidUniversalConnectionPool. setConnectionLabelingHighCost(int highCost)Sets the cost value which identifies a connection as "high-cost" for connection labeling.voidUniversalConnectionPool. setConnectionRepurposeThreshold(java.lang.Integer threshold)Sets the connection repurpose threshold for the pool.voidUniversalConnectionPool. setConnectionValidationTimeout(int connectionValidationTimeout)Connection validation timeout setter This property changes the allowed time for a connection valiadation.voidUniversalConnectionPool. 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.voidUniversalConnectionPool. setConnectionWaitTimeout(int waitTimeout)Deprecated.voidUniversalConnectionPool. setHighCostConnectionReuseThreshold(int threshold)Sets the high-cost connection reuse threshold for connection labeling.voidUniversalConnectionPool. setInactiveConnectionTimeout(int inactiveConnectionTimeout)Sets the inactive connection timeout.voidUniversalConnectionPool. setInitialPoolSize(int initialPoolSize)Sets the initial pool size.voidUniversalConnectionPool. 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.voidUniversalConnectionPool. setMaxConnectionReuseCount(int maxConnectionReuseCount)Sets the maximum connection reuse count property.voidUniversalConnectionPool. setMaxConnectionReuseTime(long maxConnectionReuseTime)Sets the maximum connection reuse time property.voidUniversalConnectionPool. setMaxConnectionsPerService(int maxConnectionsPerService)Sets the maximum number of connections that can be obtained to a particular service, in a shared pool.voidUniversalConnectionPool. setMaxPoolSize(int maxPoolSize)Sets the maximum number of connections.voidUniversalConnectionPool. setMinIdle(int minIdle)Sets the minimum number of idle connections.voidUniversalConnectionPool. setMinPoolSize(int minPoolSize)Sets the minimum number of connections.voidUniversalConnectionPool. setSecondsToTrustIdleConnection(int secondsToTrustIdleConnection)Sets the time in seconds to trust an idle connection to skip a validation test.voidUniversalPooledConnection. setStatus(UniversalPooledConnectionStatus status)Sets the status of the pooled connection.voidUniversalConnectionPool. setTimeoutCheckInterval(int timeoutCheckInterval)Sets the frequency (in seconds) to enforce the timeout properties.voidUniversalConnectionPool. setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout)Sets the maximum time (in seconds) a connection may remain in-use.voidConnectionFactoryAdapter. setUniversalConnectionPool(UniversalConnectionPool connectionPool)Sets the connection pool that interacts with this connection factory adapter.default voidUniversalConnectionPool. start()if keepMetadataConn is not specified, assume it is "false".voidUniversalConnectionPool. start(ConnectionRetrievalInfo connectionRetrievalInfo, boolean keepMetadataConn)Starts the connection pool.voidUniversalConnectionPool. 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 voidUniversalConnectionPoolManager. createConnectionPool(UniversalConnectionPoolAdapter ucpAdapter)Creates a connection pool instance based on specified UCP Adapter.UniversalConnectionPoolMBeanUniversalConnectionPoolManagerMBean. createConnectionPool(UniversalConnectionPoolAdapter ucpAdapter)Creates a connection pool instance based on specified UCP Adapter.voidUniversalConnectionPoolManager. destroyConnectionPool(java.lang.String poolName)Destroys the connection pool.voidUniversalConnectionPoolManagerMBean. destroyConnectionPool(java.lang.String poolName)Destroys the connection pool.UniversalConnectionPoolUniversalConnectionPoolManager. getConnectionPool(java.lang.String poolName)Gets the Universal Connection Pool instance from the Universal Connection Pool Manager.UniversalConnectionPoolLifeCycleStateUniversalConnectionPoolManagerMBean. 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.ModelMBeanInfoUniversalConnectionPoolMBean. getMBeanInfo(javax.management.ObjectName mbeanObjName, java.lang.String mbeanDisplayName)BuildsMBeanInfoto define attributes, constructors, operations and notifications to expose to the remote users.java.lang.StringUniversalConnectionPoolManagerMBean. 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 UniversalConnectionPoolManagerUniversalConnectionPoolManagerImpl. getUniversalConnectionPoolManager()Returns the static Universal Connection Pool Manager instance.static UniversalConnectionPoolManagerUniversalConnectionPoolManagerImpl. getUniversalConnectionPoolManager(Diagnosable diagnosticsCollector)Returns the static Universal Connection Pool Manager instance.voidUniversalConnectionPoolMBean. purge()Purges the Universal Connection Pool instance.voidUniversalConnectionPoolManager. purgeConnectionPool(java.lang.String poolName)Purges the connection pool.voidUniversalConnectionPoolManagerMBean. purgeConnectionPool(java.lang.String poolName)Purges the connection pool.voidUniversalConnectionPoolManager. reconfigureConnectionPool(java.lang.String poolName, java.util.Properties configuration)Reconfigures the connection pool.voidUniversalConnectionPoolManagerMBean. reconfigureConnectionPool(java.lang.String poolName, java.util.Properties configuration)Reconfigures the connection pool.voidUniversalConnectionPoolMBean. recycle()Recycles the Universal Connection Pool instance.voidUniversalConnectionPoolManager. recycleConnectionPool(java.lang.String poolName)Recycles the connection pool.voidUniversalConnectionPoolManagerMBean. recycleConnectionPool(java.lang.String poolName)Recycles the connection pool.voidUniversalConnectionPoolMBean. refresh()Refreshes the Universal Connection Pool instance.voidUniversalConnectionPoolManager. refreshConnectionPool(java.lang.String poolName)Refreshes the connection pool.voidUniversalConnectionPoolManagerMBean. refreshConnectionPool(java.lang.String poolName)Refreshes the connection pool.voidUniversalConnectionPoolManagerMBean. registerUniversalConnectionPoolMBean(UniversalConnectionPoolMBean poolMBean)Registers the Universal Connection Pool MBean instance with the MBean server.voidUniversalConnectionPoolMBean. setAbandonedConnectionTimeout(java.lang.Integer abandonedConnectionTimeout)Sets the abandoned connection timeout of the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setConnectionHarvestMaxCount(java.lang.Integer connectionHarvestMaxCount)Sets the connection harvest maximum count for the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setConnectionHarvestTriggerCount(java.lang.Integer connectionHarvestTriggerCount)Sets the connection harvest trigger count for the Universal Connection Pool instance.voidUniversalConnectionPoolManager. setConnectionPool(UniversalConnectionPool connectionPool)Sets the Universal Connection Pool with theUniversalConnectionPoolManagerObject.voidUniversalConnectionPoolMBean. setConnectionValidationTimeout(java.lang.Integer connectionValidationTimeout)Connection validation timeout settervoidUniversalConnectionPoolMBean. 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.voidUniversalConnectionPoolMBean. setConnectionWaitTimeout(java.lang.Integer connectionWaitTimeout)Deprecated.voidUniversalConnectionPoolMBean. setInactiveConnectionTimeout(java.lang.Integer inactiveConnectionTimeout)Sets the inactive connection timeout.voidUniversalConnectionPoolMBean. setInitialPoolSize(java.lang.Integer initialPoolSize)Sets the initial pool size of the Universal Connection Pool instance.voidUniversalConnectionPoolManager. setJmxEnabled(boolean jmxFlag)Sets thejmxFlagto eithertrueorfalse.voidUniversalConnectionPoolMBean. setMaxConnectionReuseCount(java.lang.Integer maxConnectionReuseCount)Sets the maximum connection reuse count for the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setMaxConnectionReuseTime(java.lang.Long maxConnectionReuseTime)Sets the maximum connection reuse time for the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setMaxPoolSize(java.lang.Integer maxPoolSize)Sets the maximum pool size of the Universal Connection Pool instance.voidUniversalConnectionPoolManager. setMetricUpdateInterval(int interval)Sets the metric update interval value.voidUniversalConnectionPoolManagerMBean. setMetricUpdateInterval(java.lang.Integer interval)Sets the metric update interval value.voidUniversalConnectionPoolMBean. setMinIdle(java.lang.Integer minIdle)Sets the minimum idle connections of the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setMinPoolSize(java.lang.Integer minPoolSize)Sets the minimum pool size of the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setName(java.lang.String name)Sets the name of the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setSecondsToTrustIdleConnection(java.lang.Integer secondsToTrustIdleConnection)Sets the time in seconds to trust an idle connection to skip a validation test.voidUniversalConnectionPoolMBean. setTimeoutCheckInterval(java.lang.Integer timeoutCheckInterval)Sets the timeout check interval of the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. setTimeToLiveConnectionTimeout(java.lang.Integer timeToLiveConnectionTimeout)Sets the time to live connection timeout of the Universal Connection Pool instance.voidUniversalConnectionPoolMBean. start()Starts the Universal Connection Pool instance.voidUniversalConnectionPoolManager. startConnectionPool(java.lang.String poolName)Starts the connection pool instance with the given name.voidUniversalConnectionPoolManagerMBean. startConnectionPool(java.lang.String poolName)Starts the connection pool.voidUniversalConnectionPoolManager. startMetricsCollection(java.lang.String poolName)Starts metric collection for the provided pool.voidUniversalConnectionPoolManagerMBean. startMetricsCollection(java.lang.String poolName)Starts metric collection for the provided pool.voidUniversalConnectionPoolMBean. stop()Stops the Universal Connection Pool instance.voidUniversalConnectionPoolManager. stopConnectionPool(java.lang.String poolName)Stops the connection pool.voidUniversalConnectionPoolManagerMBean. stopConnectionPool(java.lang.String poolName)Stops the connection pool.voidUniversalConnectionPoolManager. stopMetricsCollection(java.lang.String poolName)Stops metric collection for the provided pool.voidUniversalConnectionPoolManagerMBean. stopMetricsCollection(java.lang.String poolName)Stops metric collection for the provided pool.voidUniversalConnectionPoolManagerMBean. unregisterUniversalConnectionPoolMBean(java.lang.String poolName)Unregisters the Universal Connection Pool MBean from the MBean server.
-