EventListener, ConnectionEventListener, oracle.ucp.common.Failoverable, RACCallback, RACManagerImpl.RACCallbackExtended, UniversalConnectionPoolpublic class OracleXAConnectionConnectionPool extends OraclePooledConnectionConnectionPool
m_connectionInitializationCallbackborrowedAccumulator, borrowedConnectionsCount, borrowedSamples, core, DEFAULT_ABANDONED_CONNECTION_TIMEOUT, DEFAULT_CONNECTION_HARVEST_MAX_COUNT, DEFAULT_CONNECTION_HARVEST_TRIGGER_COUNT, DEFAULT_CONNECTION_VALIDATION_TIMEOUT, DEFAULT_CONNECTION_WAIT_TIMEOUT, DEFAULT_INACTIVE_CONNECTION_TIMEOUT, DEFAULT_INITIAL_POOL_SIZE, DEFAULT_MAX_CONNECTIONS_PER_SERVICE, DEFAULT_MAX_CONNECTIONS_PER_SHARD, DEFAULT_MAX_POOL_SIZE, DEFAULT_MIN_POOL_SIZE, DEFAULT_POOLNAME_PREFIX, DEFAULT_QUERY_TIMEOUT, DEFAULT_SECONDS_TO_TRUST_IDLE_CONNECTION, DEFAULT_TIME_TO_LIVE_CONNECTION_TIMEOUT, DEFAULT_TIMEOUT_CHECK_INTERVAL, DEFAULT_VALIDATE_BORROWED_CONNECTION, FRAMES, HISTOGRAM_STEP, HISTOGRAM_TIME_SPAN, labeledConnectionsCount, logWriter, m_connectionAffinityCallback, m_connectionLabelingCallback, m_lifeCycleState, THREAD_POOL_SIZE, totalConnectionsCount| Constructor | Description |
|---|---|
OracleXAConnectionConnectionPool(JDBCConnectionFactoryAdapter connectionFactoryAdapter) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
closeXAConnection(XAConnection xaConnection) |
Closes the
javax.sql.XAConnection. |
protected Object |
getConnectionObjectForLabelingConfigure(UniversalPooledConnection upc) |
Public and protected methods used in other packages.
|
XAConnection |
getXAConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) |
Gets a
javax.sql.XAConnection from the connection pool. |
boolean |
returnXAConnection(XAConnection xaConnection) |
Returns a
javax.sql.XAConnection back into the connection
pool. |
protected void |
validateConstructor(JDBCConnectionFactoryAdapter connectionFactoryAdapter) |
Makes sure the constructor is valid.
|
getConnectionInitializationCallback, getMaxStatements, getProxyFactory, getSQLForValidateConnection, registerConnectionInitializationCallback, setConnectionFactory, setMaxStatements, setProxyFactory, setSQLForValidateConnection, unregisterConnectionInitializationCallbackclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitborrowConnection, closePhysicalConnection, createOnePooledConnection, getAvailableConnections, getAvailableConnectionToInstance, getConnectionRepurposeCount, getDRCPPLSQLCallbackName, getFailedAffinityBasedBorrowCount, getFailedAffinityBasedBorrowCount, getFailedRCLBBasedBorrowCount, getFailedRCLBBasedBorrowCount, getFCFProcessingInfo, getFCFProcessingInfo, getFCFProcessingInfoProcessedOnly, getFCFProcessingInfoProcessedOnly, getPoolName, getRoomToGrowPool, getShardConnectionStats, getStatistics, getSuccessfulAffinityBasedBorrowCount, getSuccessfulAffinityBasedBorrowCount, getSuccessfulRCLBBasedBorrowCount, getSuccessfulRCLBBasedBorrowCount, getUrl, initiateDownEventProcessing, initiateUpEventProcessing, isDRCPEnabled, isDRCPMultiTagEnabled, isRuntimeLoadBalancingEnabled, isValid, lbaEventOccurred, onAddingConnectionToPool, onRemovingConnectionFromPool, openNewConnection, registerConnectionAffinityCallback, removeConnectionAffinityCallback, start, superClosePhysicalConnection, tearDownConnectionsForInstance, useStrictWebSessionAffinity, useStrictXAAffinityclosePooledConnection, connectionClosed, connectionErrorOccurred, getPooledConnection, returnPooledConnectiongetMaxPoolSize, getMinPoolSize, getTotalConnectionsCount, getValidateConnectionOnBorrowgetAbandonedConnectionsCount, getAbandonedConnectionTimeout, getAbandonedConnectionTimer, getAvailableConnectionsCount, getAverageBorrowedConnectionsCount, getBorrowedConnectionsCount, getConnectionAffinityCallback, getConnectionFactoryAdapter, getConnectionHarvestMaxCount, getConnectionHarvestTriggerCount, getConnectionLabelingCallback, getConnectionLabelingHighCost, getConnectionRepurposeThreshold, getConnectionRetrievalInfo, getConnectionValidationTimeout, getConnectionWaitTimeout, getCumulativeConnectionBorrowedCount, getCumulativeConnectionReturnedCount, getCumulativeConnectionsCreated, getCumulativeConnectionUseTime, getCumulativeFailedConnectionWaitCount, getCumulativeFailedConnectionWaitTime, getCumulativeReturnedConnectionCount, getCumulativeSuccessfulConnectionWaitCount, getCumulativeSuccessfulConnectionWaitTime, getDatabaseTopologyInfo, getFailoverEventHandlerTask, getFailoverInfo, getHighCostConnectionReuseThreshold, getInactiveConnectionTimeout, getInactiveConnectionTimer, getInitialPoolSize, getLabeledConnectionsCount, getLifeCycleState, getLoginTimeout, getLogWriter, getMaxConnectionReuseCount, getMaxConnectionReuseTime, getMaxConnectionsPerService, getMaxConnectionsPerShard, getMaxPoolSize, getMinPoolSize, getName, getNeverUsedConnectionsCounter, getONSConfiguration, getPeakConnectionsCount, getPeakConnectionWaitTime, getPendingRequestsCount, getQueryTimeout, getSecondsToTrustIdleConnection, getServiceName, getShardedDatabaseInfo, getShardingMode, getShardRoutingCacheInfo, getTimeoutCheckInterval, getTimeToLiveConnectionTimeout, getTimeToLiveConnectionTimer, getTotalConnectionsCount, getValidateConnectionOnBorrow, handleFailoverEvent, ilogFine, ilogFinest, ilogThrowing, incrementConnectionsClosedCount, incrementConnectionsCreatedCount, insertToAvailableHistogram, insertToBorrowedHistogram, insertToCreatedHistogram, isFailoverEnabled, isFailoverExplicitlySet, isLifecycleFailed, isLifecycleRunning, isLifecycleStarting, isLifecycleStopped, isLifecycleStopping, isOraclePool, isShareable, reconfigure, registerConnectionLabelingCallback, removeConnectionLabelingCallback, resetAllPoolStatistics, resetNonCumulativePoolStatistics, setAbandonedConnectionTimeout, setConnectionHarvestMaxCount, setConnectionHarvestTriggerCount, setConnectionLabelingHighCost, setConnectionRepurposeThreshold, setConnectionRetrievalInfo, setConnectionValidationTimeout, setConnectionWaitTimeout, setFailoverEnabled, setFailoverInfo, setHighCostConnectionReuseThreshold, setInactiveConnectionTimeout, setInitialPoolSize, setLoginTimeout, setLogWriter, setMaxConnectionReuseCount, setMaxConnectionReuseTime, setMaxConnectionsPerService, setMaxConnectionsPerShard, setMaxPoolSize, setMinPoolSize, setName, setONSConfiguration, setOraclePool, setQueryTimeout, setRuntimeLoadBalancingEnabled, setSecondsToTrustIdleConnection, setShardingMode, setShareable, setTimeoutCheckInterval, setTimeToLiveConnectionTimeout, setValidateConnectionOnBorrow, stop, validatePoolSizescloseConnection, closePooledConnection, closeUsedPhysicalConnection, computeBorrowGiveUpTimestamp, createOnePooledConnection, discardUsedConnection, getAvailableConnection, getUsedConnection, incrementCumulativeConnectionsCreated, isAffinityStrict, isStillOkayToBorrow, needToConfigureConnection, purge, recycle, refresh, returnConnection, returnUsedPhysicalConnection, setConnectionHarvestable, setNoWaitBorrowpublic OracleXAConnectionConnectionPool(JDBCConnectionFactoryAdapter connectionFactoryAdapter) throws UniversalConnectionPoolException
connectionFactoryAdapter - The connection factory adapter.UniversalConnectionPoolException - If an error occurs constructing this.public XAConnection getXAConnection(JDBCConnectionRetrievalInfo connectionRetrievalInfo) throws UniversalConnectionPoolException
javax.sql.XAConnection from the connection pool.connectionRetrievalInfo - Info to use to get the
javax.sql.XAConnection.javax.sql.XAConnection.UniversalConnectionPoolException - if an error occurs getting a javax.sql.XAConnection.NoAvailableConnectionsException - if all of the connections are in use.public boolean returnXAConnection(XAConnection xaConnection) throws UniversalConnectionPoolException
javax.sql.XAConnection back into the connection
pool.xaConnection - The javax.sql.XAConnection to return
back into the pool.true if the javax.sql.XAConnection is
in use and was returned to the pool; false otherwise.UniversalConnectionPoolException - if an error occurs
returning the javax.sql.XAConnection.public boolean closeXAConnection(XAConnection xaConnection) throws UniversalConnectionPoolException
javax.sql.XAConnection. Do not put it back into
the pool.xaConnection - The javax.sql.XAConnection to close.true if the javax.sql.XAConnection is
in use and was closed; false otherwise.UniversalConnectionPoolException - if an error occurs closing the
javax.sql.XAConnection.protected void validateConstructor(JDBCConnectionFactoryAdapter connectionFactoryAdapter) throws UniversalConnectionPoolException
connectionFactoryAdapter - the connection factory adapter.UniversalConnectionPoolException - If an error occurs.protected Object getConnectionObjectForLabelingConfigure(UniversalPooledConnection upc)
oracle.ucp.common.UniversalConnectionPoolImplgetConnectionObjectForLabelingConfigure in class JDBCConnectionPool
Copyright © 2008, 2017, Oracle. All rights reserved.