| Package | Description |
|---|---|
| oracle.ucp | |
| oracle.ucp.admin |
| 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(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 the
AbandonedConnectionTimeoutCallback registered
with this connection. |
ConnectionHarvestingCallback |
UniversalPooledConnection.getConnectionHarvestingCallback() |
Obtains the
ConnectionHarvestingCallback registered with
this connection. |
java.util.Properties |
UniversalPooledConnection.getConnectionLabels() |
Retrieves all the connection labels applied on this connection.
|
TimeToLiveConnectionTimeoutCallback |
UniversalPooledConnection.getTimeToLiveConnectionTimeoutCallback() |
Obtains the
TimeToLiveConnectionTimeoutCallback 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 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(java.lang.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(java.lang.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(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.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.
|
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) |
Builds
MBeanInfo 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.
|
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(int abandonedConnectionTimeout) |
Sets the abandoned connection timeout of the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBean.setConnectionHarvestMaxCount(int connectionHarvestMaxCount) |
Sets the connection harvest maximum count for the Universal Connection
Pool instance.
|
void |
UniversalConnectionPoolMBean.setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount) |
Sets the connection harvest trigger count for the Universal Connection
Pool instance.
|
void |
UniversalConnectionPoolManager.setConnectionPool(UniversalConnectionPool connectionPool) |
Sets the Universal Connection Pool with
the
UniversalConnectionPoolManager Object. |
void |
UniversalConnectionPoolMBean.setConnectionValidationTimeout(int connectionValidationTimeout) |
Connection validation timeout setter
|
void |
UniversalConnectionPoolMBean.setConnectionWaitTimeout(int connectionWaitTimeout) |
Sets the connection wait timeout of the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBean.setInactiveConnectionTimeout(int inactiveConnectionTimeout) |
Sets the inactive connection timeout.
|
void |
UniversalConnectionPoolMBean.setInitialPoolSize(int initialPoolSize) |
Sets the initial pool size of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolManager.setJmxEnabled(boolean jmxFlag) |
Sets the
jmxFlag to either true or
false. |
void |
UniversalConnectionPoolMBean.setMaxConnectionReuseCount(int maxConnectionReuseCount) |
Sets the maximum connection reuse count for the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBean.setMaxConnectionReuseTime(long maxConnectionReuseTime) |
Sets the maximum connection reuse time for the Universal Connection Pool
instance.
|
void |
UniversalConnectionPoolMBean.setMaxPoolSize(int 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(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 |
UniversalConnectionPoolMBean.setName(java.lang.String name) |
Sets the name of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBean.setSecondsToTrustIdleConnection(int secondsToTrustIdleConnection) |
Sets the time in seconds to trust an idle connection to skip a validation
test.
|
void |
UniversalConnectionPoolMBean.setTimeoutCheckInterval(int timeoutCheckInterval) |
Sets the timeout check interval of the Universal Connection Pool instance.
|
void |
UniversalConnectionPoolMBean.setTimeToLiveConnectionTimeout(int 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.
|
Copyright © 2007, 2016, 2019, Oracle and/or its affiliates. All rights reserved.