|
Oracle® Universal Connection Pool Java API Reference 11g Release 1 (11.1) E11990-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PoolDataSource
A connection pool-aware data source interface. PoolDataSource
uses Universal Connection Pool internally. See setters for pool properties and their default values.
UniversalConnectionPool
Field Summary | |
---|---|
static java.lang.String |
UCP_ABANDONED_CONNECTION_TIMEOUT |
static java.lang.String |
UCP_CONNECTION_FACTORY_CLASS_NAME |
static java.lang.String |
UCP_CONNECTION_FACTORY_PROPERTIES |
static java.lang.String |
UCP_CONNECTION_HARVEST_MAX_COUNT |
static java.lang.String |
UCP_CONNECTION_HARVEST_TRIGGER_COUNT |
static java.lang.String |
UCP_CONNECTION_POOL_NAME |
static java.lang.String |
UCP_CONNECTION_PROPERTIES |
static java.lang.String |
UCP_CONNECTION_WAIT_TIMEOUT |
static java.lang.String |
UCP_DATA_SOURCE_NAME |
static java.lang.String |
UCP_DATABASE_NAME |
static java.lang.String |
UCP_DESCRIPTION |
static java.lang.String |
UCP_FAST_CONNECTION_FAILOVER_ENABLED |
static java.lang.String |
UCP_INACTIVE_CONNECTION_TIMEOUT |
static java.lang.String |
UCP_INITIAL_POOL_SIZE |
static java.lang.String |
UCP_MAX_CONNECTION_REUSE_COUNT |
static java.lang.String |
UCP_MAX_CONNECTION_REUSE_TIME |
static java.lang.String |
UCP_MAX_IDLE_TIME |
static java.lang.String |
UCP_MAX_POOL_SIZE |
static java.lang.String |
UCP_MAX_STATEMENTS |
static java.lang.String |
UCP_MIN_POOL_SIZE |
static java.lang.String |
UCP_NETWORK_PROTOCOL |
static java.lang.String |
UCP_ONS_CONFIGURATION |
static java.lang.String |
UCP_PASSWORD |
static java.lang.String |
UCP_PORT_NUMBER |
static java.lang.String |
UCP_PROPERTY_CYCLE |
static java.lang.String |
UCP_ROLE_NAME |
static java.lang.String |
UCP_SERVER_NAME |
static java.lang.String |
UCP_SQL_FOR_VALIDATE_CONNECTION |
static java.lang.String |
UCP_TIME_TO_LIVE_CONNECTION_TIMEOUT |
static java.lang.String |
UCP_TIMEOUT_CHECK_INTERVAL |
static java.lang.String |
UCP_URL |
static java.lang.String |
UCP_USER |
static java.lang.String |
UCP_VALIDATE_CONNECTION_ON_BORROW |
Method Summary | |
---|---|
int |
getAbandonedConnectionTimeout() Gets the abandoned connection timeout value. |
int |
getAvailableConnectionsCount() Gets the number of available connections in the pool. |
int |
getBorrowedConnectionsCount() Gets the number of borrowed connections from the pool. |
java.sql.Connection |
getConnection(java.util.Properties labels) Attempts to obtain a database connection with the requested connection labels. |
java.sql.Connection |
getConnection(java.lang.String username, java.lang.String password, java.util.Properties labels) Attempts to obtain a database connection with the requested connection labels. |
java.lang.String |
getConnectionFactoryClassName() Gets the Connection Factory class name. |
java.util.Properties |
getConnectionFactoryProperties() Gets the connection factory properties that are set on this data source. |
java.lang.String |
getConnectionFactoryProperty(java.lang.String propertyName) Gets the specified connection factory property that are set on this data source. |
int |
getConnectionHarvestMaxCount() Gets the maximum number of connections that may be harvested when the connection harvesting occurs. |
int |
getConnectionHarvestTriggerCount() Gets the number of available connections below which the connection pool's connection harvesting will occur. |
java.lang.String |
getConnectionPoolName() Gets the connection pool name. |
java.util.Properties |
getConnectionProperties() Gets the connection properties that are set on this data source. |
java.lang.String |
getConnectionProperty(java.lang.String propertyName) Gets the specified connection property that are set on this data source. |
int |
getConnectionWaitTimeout() Gets the amount of time to wait (in seconds) for a used connection to be released by a client. |
java.lang.String |
getDatabaseName() Gets the database name. |
java.lang.String |
getDataSourceName() Gets the data source name. |
java.lang.String |
getDescription() Gets the data source description. |
boolean |
getFastConnectionFailoverEnabled() Checks if Fast Connection Failover is enabled. |
int |
getInactiveConnectionTimeout() Gets the inactive connection timeout. |
int |
getInitialPoolSize() Gets the initial pool size. |
int |
getMaxConnectionReuseCount() Gets the maximum connection reuse count property value. |
long |
getMaxConnectionReuseTime() Gets the maximum connection reuse time property value. |
int |
getMaxIdleTime() Gets the maximum idle time. |
int |
getMaxPoolSize() Gets the maximum number of connections that the connection pool will maintain. |
int |
getMaxStatements() Gets the maximum number of statements that may be pooled or cached on a Connection. |
int |
getMinPoolSize() Gets the minimum number of connections that the connection pool will maintain. |
java.lang.String |
getNetworkProtocol() Gets the data source network protocol. |
java.lang.String |
getONSConfiguration() Returns the ONS configuration string that is used for remote ONS subscription in the form specified in setONSConfiguration(String) . |
java.lang.String |
getPassword() Gets the Password for this data source. |
int |
getPortNumber() Gets the database port number. |
int |
getPropertyCycle() Gets the property cycle in seconds. |
java.lang.String |
getRoleName() Gets the data source role name. |
java.lang.String |
getServerName() Gets the database server name. |
java.lang.String |
getSQLForValidateConnection() Gets the value of the SQLForValidateConnection property. |
JDBCConnectionPoolStatistics |
getStatistics() Gets the statistics of the connection pool. |
int |
getTimeoutCheckInterval() Gets the timeout check interval (in seconds). |
int |
getTimeToLiveConnectionTimeout() Gets the maximum time (in seconds) a connection may remain in-use. |
java.lang.String |
getURL() Gets the URL for this data source. |
java.lang.String |
getUser() Gets the user name for this data source. |
boolean |
getValidateConnectionOnBorrow() Returns whether or not a connection being borrowed should first be validated. |
void |
registerConnectionAffinityCallback(ConnectionAffinityCallback cbk) Registers a connection affinity callback on the connection pool. |
void |
registerConnectionLabelingCallback(ConnectionLabelingCallback cbk) Registers a connection labeling callback with the underlying connection pool. |
void |
removeConnectionAffinityCallback() Removes the ConnectionAffinityCallback object registered on the connection pool. |
void |
removeConnectionLabelingCallback() Removes the ConnectionLabelingCallback object registered with the underlying connection pool, if any. |
void |
setAbandonedConnectionTimeout(int abandonedConnectionTimeout) Sets the abandoned connection timeout. |
void |
setConnectionFactoryClassName(java.lang.String factoryClassName) Sets the Connection Factory class name. |
void |
setConnectionFactoryProperties(java.util.Properties factoryProperties) Sets the connection factory properties on the connection factory. |
void |
setConnectionFactoryProperty(java.lang.String name, java.lang.String value) Sets a connection factory property on the connection factory. |
void |
setConnectionHarvestMaxCount(int connectionHarvestMaxCount) Sets the maximum number of connections that may be harvested when the connection harvesting occurs. |
void |
setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount) Sets the number of available connections below which the connection pool's connection harvesting will occur. |
void |
setConnectionPoolName(java.lang.String connectionpoolName) Sets the connection pool name. |
void |
setConnectionProperties(java.util.Properties connectionProperties) Sets the connection properties on the connection factory. |
void |
setConnectionProperty(java.lang.String name, java.lang.String value) Sets a connection property on the connection factory. |
void |
setConnectionWaitTimeout(int waitTimeout) Sets the amount of time to wait (in seconds) for a used connection to be released by a client. |
void |
setDatabaseName(java.lang.String databaseName) Sets the database name. |
void |
setDataSourceName(java.lang.String dataSourceName) Sets the data source name. |
void |
setDescription(java.lang.String description) Sets the data source description. |
void |
setFastConnectionFailoverEnabled(boolean failoverEnabled) Enables Fast Connection Failover (FCF) for the connection pool accessed via this pool-enabled data source. |
void |
setInactiveConnectionTimeout(int inactivityTimeout) Sets the inactive connection timeout. |
void |
setInitialPoolSize(int initialPoolSize) Sets the initial pool size. |
void |
setMaxConnectionReuseCount(int maxConnectionReuseCount) Sets the maximum connection reuse count property. |
void |
setMaxConnectionReuseTime(long maxConnectionReuseTime) Sets the maximum connection reuse time property. |
void |
setMaxIdleTime(int idleTime) Sets the maximum idle time for available connections in the pool. |
void |
setMaxPoolSize(int maxPoolSize) Sets the maximum number of connections. |
void |
setMaxStatements(int maxStatements) Sets the maximum number of statements that may be pooled or cached on a connection. |
void |
setMinPoolSize(int minPoolSize) Sets the minimum number of connections. |
void |
setNetworkProtocol(java.lang.String networkProtocol) Sets the data source network protocol. |
void |
setONSConfiguration(java.lang.String onsConfigStr) Sets the configuration string used for remote ONS subscription. |
void |
setPassword(java.lang.String pd) Sets the password with which connections have to be obtained. |
void |
setPortNumber(int portNumber) Sets the database port number. |
void |
setPropertyCycle(int propertyCycle) Sets the property cycle in seconds. |
void |
setRoleName(java.lang.String roleName) Sets the data source role name. |
void |
setServerName(java.lang.String serverName) Sets the database server name. |
void |
setSQLForValidateConnection(java.lang.String SQLString) Sets the value of the SQLForValidateConnection property. |
void |
setTimeoutCheckInterval(int timeInterval) Sets the timeoutCheckInterval (in seconds). |
void |
setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout) Sets the maximum time (in seconds) a connection may remain in-use. |
void |
setURL(java.lang.String url) Sets the URL that the data source uses to obtain connections to the database. |
void |
setUser(java.lang.String userName) Sets the user name with which connections have to be obtained. |
void |
setValidateConnectionOnBorrow(boolean validateConnectionOnBorrow) Sets whether or not a connection being borrowed should first be validated. |
Methods inherited from interface javax.sql.DataSource |
---|
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Field Detail |
---|
static final java.lang.String UCP_USER
static final java.lang.String UCP_URL
static final java.lang.String UCP_PASSWORD
static final java.lang.String UCP_SERVER_NAME
static final java.lang.String UCP_PORT_NUMBER
static final java.lang.String UCP_DATABASE_NAME
static final java.lang.String UCP_DATA_SOURCE_NAME
static final java.lang.String UCP_DESCRIPTION
static final java.lang.String UCP_NETWORK_PROTOCOL
static final java.lang.String UCP_ROLE_NAME
static final java.lang.String UCP_CONNECTION_FACTORY_CLASS_NAME
static final java.lang.String UCP_CONNECTION_PROPERTIES
static final java.lang.String UCP_CONNECTION_FACTORY_PROPERTIES
static final java.lang.String UCP_VALIDATE_CONNECTION_ON_BORROW
static final java.lang.String UCP_SQL_FOR_VALIDATE_CONNECTION
static final java.lang.String UCP_CONNECTION_POOL_NAME
static final java.lang.String UCP_INITIAL_POOL_SIZE
static final java.lang.String UCP_MIN_POOL_SIZE
static final java.lang.String UCP_MAX_POOL_SIZE
static final java.lang.String UCP_ABANDONED_CONNECTION_TIMEOUT
static final java.lang.String UCP_TIME_TO_LIVE_CONNECTION_TIMEOUT
static final java.lang.String UCP_INACTIVE_CONNECTION_TIMEOUT
static final java.lang.String UCP_MAX_IDLE_TIME
static final java.lang.String UCP_TIMEOUT_CHECK_INTERVAL
static final java.lang.String UCP_PROPERTY_CYCLE
static final java.lang.String UCP_MAX_STATEMENTS
static final java.lang.String UCP_CONNECTION_WAIT_TIMEOUT
static final java.lang.String UCP_MAX_CONNECTION_REUSE_TIME
static final java.lang.String UCP_MAX_CONNECTION_REUSE_COUNT
static final java.lang.String UCP_CONNECTION_HARVEST_TRIGGER_COUNT
static final java.lang.String UCP_CONNECTION_HARVEST_MAX_COUNT
static final java.lang.String UCP_FAST_CONNECTION_FAILOVER_ENABLED
static final java.lang.String UCP_ONS_CONFIGURATION
Method Detail |
---|
int getInitialPoolSize()
void setInitialPoolSize(int initialPoolSize) throws java.sql.SQLException
Integer.MAX_VALUE
. It is illegal to set this to a value greater than the maximum pool size. Defaults to 0.initialPoolSize
- the initial pool size.java.sql.SQLException
int getMinPoolSize()
void setMinPoolSize(int minPoolSize) throws java.sql.SQLException
Integer.MAX_VALUE
. It is illegal to set this to a value greater than the maximum pool size. Defaults to 0.minPoolSize
- The minimum number of connections.java.sql.SQLException
int getMaxPoolSize()
void setMaxPoolSize(int maxPoolSize) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to Integer.MAX_VALUE
.maxPoolSize
- The maximum number of connections.java.sql.SQLException
int getInactiveConnectionTimeout()
void setInactiveConnectionTimeout(int inactivityTimeout) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to 0. <p/> Setting the value to 0 disables inactive connection timeout processing.inactivityTimeout
- The inactive connection timeout in seconds.java.sql.SQLException
int getAbandonedConnectionTimeout()
void setAbandonedConnectionTimeout(int abandonedConnectionTimeout) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to 0. <p/> Setting the value to 0 disables abandoned connectParameters:
abandonedConnectionTimeout
- The value of how long a connection has not been used before it is abandoned (in seconds).java.sql.SQLException
int getConnectionWaitTimeout()
void setConnectionWaitTimeout(int waitTimeout) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to 3. <p/> Setting the value to 0 disables connection wait timeout processing.waitTimeout
- The amount of time to wait.java.sql.SQLException
int getTimeToLiveConnectionTimeout()
void setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to 0. <p/> Setting the value to 0 disables time-to-live connection timeout processing.timeToLiveConnectionTimeout
- The maximum time (in seconds) a used connection may be active.java.sql.SQLException
void setTimeoutCheckInterval(int timeInterval) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to 30. <p/> Setting the value to 0 disables all connection timeout processing.timeInterval
- The timeInterval (in seconds) between checks to enforce the timeout properties.java.sql.SQLException
int getTimeoutCheckInterval()
timeInterval
(in seconds) between checks to enforce the timeout properties.void setFastConnectionFailoverEnabled(boolean failoverEnabled) throws java.sql.SQLException
failoverEnabled
- true
if Fast Connection Failover is enabled; false
if notjava.sql.SQLException
boolean getFastConnectionFailoverEnabled()
true
if Fast Connection Failover is enabled; false
if notjava.lang.String getConnectionFactoryClassName()
void setConnectionFactoryClassName(java.lang.String factoryClassName) throws java.sql.SQLException
PoolDataSource
to operate.factoryClassName
- Connection factory class name for obtaining physical connectionsjava.sql.SQLException
void setMaxStatements(int maxStatements) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to 0.maxStatements
- maximum number of statements to be pooled.java.sql.SQLException
- Exception occurred during the process of setting maximum statements that may be pooled on a connection.int getMaxStatements()
void setMaxIdleTime(int idleTime) throws java.sql.SQLException
Integer.MAX_VALUE
. Defaults to 0.idleTime
- Maximum idle time in secondsjava.sql.SQLException
int getMaxIdleTime()
void setPropertyCycle(int propertyCycle) throws java.sql.SQLException
timeoutCheckInterval
. <p/> The range of valid values is 0 to Integer.MAX_VALUE
. Defaults to 30.propertyCycle
- Time interval in seconds to enforce connection pool timeout propertiesjava.sql.SQLException
int getPropertyCycle()
void setConnectionPoolName(java.lang.String connectionpoolName) throws java.sql.SQLException
connectionpoolName
- Name of the connection pooljava.sql.SQLException
java.lang.String getConnectionPoolName()
void setURL(java.lang.String url) throws java.sql.SQLException
url
- URL to be setjava.sql.SQLException
java.lang.String getURL()
void setUser(java.lang.String userName) throws java.sql.SQLException
userName
- Username to be set.java.sql.SQLException
java.lang.String getUser()
void setPassword(java.lang.String pd) throws java.sql.SQLException
pd
- Passowrd to be set.java.sql.SQLException
java.lang.String getPassword()
void setServerName(java.lang.String serverName) throws java.sql.SQLException
serverName
- Database server name to be set.java.sql.SQLException
java.lang.String getServerName()
void setPortNumber(int portNumber) throws java.sql.SQLException
portNumber
- Database port number to be set.java.sql.SQLException
int getPortNumber()
void setDatabaseName(java.lang.String databaseName) throws java.sql.SQLException
databaseName
- Database name to be set.java.sql.SQLException
java.lang.String getDatabaseName()
void setDataSourceName(java.lang.String dataSourceName) throws java.sql.SQLException
dataSourceName
- datas ource name to be set.java.sql.SQLException
java.lang.String getDataSourceName()
void setDescription(java.lang.String description) throws java.sql.SQLException
description
- data source description to be set.java.sql.SQLException
java.lang.String getDescription()
void setNetworkProtocol(java.lang.String networkProtocol) throws java.sql.SQLException
networkProtocol
- data source network protocol to be set.java.sql.SQLException
java.lang.String getNetworkProtocol()
void setRoleName(java.lang.String roleName) throws java.sql.SQLException
roleName
- data source role name to be set.java.sql.SQLException
java.lang.String getRoleName()
void setValidateConnectionOnBorrow(boolean validateConnectionOnBorrow) throws java.sql.SQLException
false
.validateConnectionOnBorrow
- Whether or not a connection being borrowed should first be validated.java.sql.SQLException
boolean getValidateConnectionOnBorrow()
void setSQLForValidateConnection(java.lang.String SQLString) throws java.sql.SQLException
SQLForValidateConnection
property. This is a SQL command used in conjunction with the ValidateConnectionOnBorrow
property. The SQL specified should be applicable to the backend database and the JDBC driver configured. Defaults to null
.SQLString
- The SQL string used for connection validation.java.sql.SQLException
java.lang.String getSQLForValidateConnection()
SQLForValidateConnection
property.int getConnectionHarvestTriggerCount()
void setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount) throws java.sql.SQLException
maxPoolSize
. Defaults to Integer.MAX_VALUE
. <p/> Setting the value to Integer.MAX_VALUE
disables connection harvesting.connectionHarvestTriggerCount
- The number of available connections below which the connection pool's connection harvesting will occur.java.sql.SQLException
int getConnectionHarvestMaxCount()
connectionHarvestMaxCount
.void setConnectionHarvestMaxCount(int connectionHarvestMaxCount) throws java.sql.SQLException
maxPoolSize
. Defaults to 1.connectionHarvestMaxCount
- the maximum number of connections that may be harvested when the connection harvesting occurs.java.sql.SQLException
int getAvailableConnectionsCount() throws java.sql.SQLException
AvailableConnectionsCount
java.sql.SQLException
int getBorrowedConnectionsCount() throws java.sql.SQLException
BorrowedConnectionsCount
java.sql.SQLException
java.lang.String getONSConfiguration() throws java.sql.SQLException
setONSConfiguration(String)
. This is used by Fast Connection Failover and Runtime Connection Load Balancing.java.sql.SQLException
void setONSConfiguration(java.lang.String onsConfigStr) throws java.sql.SQLException
ons.config
). The string contains a list of name=value
pairs separated by a newline character (\n). The name can be one of nodes
, walletfile
, or walletpassword
. The parameter string should at least specify the ONS configuration nodes
attribute as a list of host:port
pairs separated by a comma. SSL would be used when the walletfile
attribute is specified as an Oracle wallet file.<p/> An example ONS configuration string:
"nodes=host1:4200,host2:4200\nwalletfile=wfile\nwalletpassword=wpwd"
<p/> This is used primarily by Fast Connection Failover and Runtime Load Balancing.onsConfigStr
- The configuration string for remote ONS subscriptionjava.sql.SQLException
java.sql.Connection getConnection(java.util.Properties labels) throws java.sql.SQLException
labels
- The requested connection labels.java.sql.SQLException
- if a database-access error occurs.java.sql.Connection getConnection(java.lang.String username, java.lang.String password, java.util.Properties labels) throws java.sql.SQLException
username
- The database user on whose behalf the connection is being made.password
- The user's password.labels
- The requested connection labels.java.sql.SQLException
- if a database-access error occurs.void registerConnectionLabelingCallback(ConnectionLabelingCallback cbk) throws java.sql.SQLException
cbk
- The ConnectionLabelingCallback
object to be registered.java.sql.SQLException
- If there is a callback already registered with the pool.void removeConnectionLabelingCallback() throws java.sql.SQLException
ConnectionLabelingCallback
object registered with the underlying connection pool, if any.java.sql.SQLException
- If callback removal fails.void registerConnectionAffinityCallback(ConnectionAffinityCallback cbk) throws java.sql.SQLException
cbk
- Affinity Callback object that must be registeredjava.sql.SQLException
- If callback registration fails.void removeConnectionAffinityCallback() throws java.sql.SQLException
ConnectionAffinityCallback
object registered on the connection pool.java.sql.SQLException
- If callback removal fails.java.util.Properties getConnectionProperties()
java.lang.String getConnectionProperty(java.lang.String propertyName)
propertyName
- The name of the specified property.void setConnectionProperty(java.lang.String name, java.lang.String value) throws java.sql.SQLException
oracle.jdbc.pool.OracleDataSource
in the Oracle JDBC driver.name
- The name of the connection property to be set on the connection factory class.value
- The value of the connection property to be set on the connection factory class.java.sql.SQLException
- If any exception occurred while setting the connection property.setConnectionFactoryProperties
void setConnectionProperties(java.util.Properties connectionProperties) throws java.sql.SQLException
oracle.jdbc.pool.OracleDataSource
in the Oracle JDBC driver.connectionProperties
- Connection properties to be set on the connection factory class.java.sql.SQLException
- If any exception occurred while setting the connection propertiessetConnectionFactoryProperties
java.util.Properties getConnectionFactoryProperties()
java.lang.String getConnectionFactoryProperty(java.lang.String propertyName)
propertyName
- The name of the specified property.void setConnectionFactoryProperty(java.lang.String name, java.lang.String value) throws java.sql.SQLException
java.sql.Driver
, the connection factory property specified here will be assumed as a connection property. <p/> For DataSource connection factories, the property specified here will be assumed as a DataSource property.name
- The name of the connection factory property to be set on the connection factory class.value
- The value of the connection factory property to be set on the connection factory class.java.sql.SQLException
- If any exception occurred while setting the connection factory property.java.lang.IllegalArgumentException
- If the property name or value is invalid.void setConnectionFactoryProperties(java.util.Properties factoryProperties) throws java.sql.SQLException
java.sql.Driver
, the connection factory properties specified here will be assumed as the connection properties. <p/> For DataSource connection factories, the properties specified here will be assumed as the DataSource properties.factoryProperties
- Connection factory properties to be set on the connection factory class.java.sql.SQLException
- If any exception occurred while setting the connection factory properties.java.lang.IllegalArgumentException
- If factoryProperties is empty.long getMaxConnectionReuseTime()
setMaxConnectionReuseTime()
.void setMaxConnectionReuseTime(long maxConnectionReuseTime) throws java.sql.SQLException
maxConnectionReuseTime
- Maximum connection reuse time (in seconds)java.sql.SQLException
int getMaxConnectionReuseCount()
setMaxConnectionReuseCount()
.void setMaxConnectionReuseCount(int maxConnectionReuseCount) throws java.sql.SQLException
maxConnectionReuseCount
- Maximum connection reuse countjava.sql.SQLException
JDBCConnectionPoolStatistics getStatistics()
|
Oracle® Universal Connection Pool Java API Reference 11g Release 1 (11.1) E11990-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |