|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2.0.4) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UniversalConnectionPoolMBean
The Universal Connection Pool MBean defines operations and attributes for managing the Universal Connection Pool. The MBean is always associated with a pool instance. Remote users can get access to these operations and attributes using JMX operations.
| Method Summary | |
|---|---|
int |
getAbandonedConnectionTimeout()
Gets the abandoned connection timeout of the Universal Connection Pool instance. |
int |
getAvailableConnectionsCount()
Gets the available connections count of the Universal Connection Pool instance. |
int |
getBorrowedConnectionsCount()
Gets the borrowed connections count of the Universal Connection Pool instance. |
int |
getConnectionHarvestMaxCount()
Gets the connection harvest maximum count of the Universal Connection Pool instance. |
int |
getConnectionHarvestTriggerCount()
Gets the connection harvest trigger count of the Universal Connection Pool instance. |
int |
getConnectionWaitTimeout()
Gets the connection wait timeout of the Universal Connection Pool instance. |
int |
getInactiveConnectionTimeout()
Gets the inactive connection timeout of the Universal Connection Pool instance. |
int |
getInitialPoolSize()
Gets the initial pool size of the Universal Connection Pool instance. |
UniversalConnectionPoolLifeCycleState |
getLifeCycleState()
Gets the lifecycle state of Universal Connection Pool instance. |
int |
getMaxConnectionReuseCount()
Gets the maximum connection reuse count of the Universal Connection Pool instance. |
long |
getMaxConnectionReuseTime()
Gets the maximum connection reuse time of the Universal Connection Pool instance. |
int |
getMaxPoolSize()
Gets the maximum pool size of the Universal Connection Pool instance. |
javax.management.modelmbean.ModelMBeanInfo |
getMBeanInfo(javax.management.ObjectName mbeanObjName,
java.lang.String mbeanDisplayName)
Builds MBeanInfo to define attributes, constructors,
operations and notifications to expose to the remote users. |
int |
getMinPoolSize()
Gets the minimum pool size of the Universal Connection Pool instance. |
java.lang.String |
getName()
Gets the name of the Universal Connection Pool instance. |
UniversalConnectionPoolStatistics |
getStatistics()
Gets statistics for the Universal Connection Pool instance. |
int |
getTimeoutCheckInterval()
Gets the timeout check interval of the Universal Connection Pool instance. |
int |
getTimeToLiveConnectionTimeout()
Gets the time to live connection timeout of the Universal Connection Pool instance. |
javax.management.modelmbean.ModelMBeanAttributeInfo[] |
getUCPMBeanAttributes()
Builds the attribute information for the Universal Connection Pool MBean. |
javax.management.modelmbean.ModelMBeanOperationInfo[] |
getUCPMBeanOperations()
Builds the operation information for the Universal Connection Pool MBean. |
boolean |
getValidateConnectionOnBorrow()
Gets the validate connection on borrow value of the Universal Connection Pool instance. |
void |
purge()
Purges the Universal Connection Pool instance. |
void |
recycle()
Recycles the Universal Connection Pool instance. |
void |
refresh()
Refreshes the Universal Connection Pool instance. |
void |
setAbandonedConnectionTimeout(int abandonedConnectionTimeout)
Sets the abandoned connection timeout of the Universal Connection Pool instance. |
void |
setConnectionHarvestMaxCount(int connectionHarvestMaxCount)
Sets the connection harvest maximum count for the Universal Connection Pool instance. |
void |
setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount)
Sets the connection harvest trigger count for the Universal Connection Pool instance. |
void |
setConnectionWaitTimeout(int connectionWaitTimeout)
Sets the connection wait timeout of the Universal Connection Pool instance. |
void |
setInactiveConnectionTimeout(int inactiveConnectionTimeout)
Sets the inactive connection timeout. |
void |
setInitialPoolSize(int initialPoolSize)
Sets the initial pool size of the Universal Connection Pool instance. |
void |
setMaxConnectionReuseCount(int maxConnectionReuseCount)
Sets the maximum connection reuse count for the Universal Connection Pool instance. |
void |
setMaxConnectionReuseTime(long maxConnectionReuseTime)
Sets the maximum connection reuse time for the Universal Connection Pool instance. |
void |
setMaxPoolSize(int maxPoolSize)
Sets the maximum pool size of the Universal Connection Pool instance. |
void |
setMinPoolSize(int minPoolSize)
Sets the minimum pool size of the Universal Connection Pool instance. |
void |
setName(java.lang.String name)
Sets the name of the Universal Connection Pool instance. |
void |
setTimeoutCheckInterval(int timeoutCheckInterval)
Sets the timeout check interval of the Universal Connection Pool instance. |
void |
setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout)
Sets the time to live connection timeout of the Universal Connection Pool instance. |
void |
setValidateConnectionOnBorrow(boolean validateConnectionOnBorrow)
Sets the validate connection on borrow value for the Universal Connection Pool instance. |
void |
start()
Starts the Universal Connection Pool instance. |
void |
stop()
Stops the Universal Connection Pool instance. |
| Method Detail |
|---|
void refresh()
throws UniversalConnectionPoolException
UniversalConnectionPoolException - If an error occurs while refreshing the Universal Connection
Pool instnace.
void recycle()
throws UniversalConnectionPoolException
UniversalConnectionPoolException - If an error occurs while recycling the Universal Connection
Pool instance.
void purge()
throws UniversalConnectionPoolException
UniversalConnectionPoolException - If an error occurs while purging the Universal Connection Pool
instance.
void start()
throws UniversalConnectionPoolException
UniversalConnectionPoolException - If an error occurs while starting the Universal Connection Pool
instance.
void stop()
throws UniversalConnectionPoolException
UniversalConnectionPoolException - If an error occurs while stopping the Universal Connection Pool
instance.java.lang.String getName()
void setName(java.lang.String name)
throws UniversalConnectionPoolException
String - A new name for the Universal Connection Pool instance.
UniversalConnectionPoolException - If an error occurs while changing the name.int getInitialPoolSize()
void setInitialPoolSize(int initialPoolSize)
throws UniversalConnectionPoolException
int - New initial pool size.
UniversalConnectionPoolException - If an error occurs while changing the initial pool size.int getMinPoolSize()
void setMinPoolSize(int minPoolSize)
throws UniversalConnectionPoolException
int - New minimum pool size.
UniversalConnectionPoolException - If an error occurs while changing the minimum pool.int getMaxPoolSize()
void setMaxPoolSize(int maxPoolSize)
throws UniversalConnectionPoolException
int - New maximum pool size.
UniversalConnectionPoolException - If an error occurs while changing the maximum pool size.int getInactiveConnectionTimeout()
void setInactiveConnectionTimeout(int inactiveConnectionTimeout)
throws UniversalConnectionPoolException
int - New inactive connection timeout.
UniversalConnectionPoolException - If an error occurs while changing the inactive connection
timeout.int getAbandonedConnectionTimeout()
void setAbandonedConnectionTimeout(int abandonedConnectionTimeout)
throws UniversalConnectionPoolException
int - New abandoned connection timeout.
UniversalConnectionPoolException - If an error occurs while changing the abandoned connection
timeout.int getConnectionWaitTimeout()
void setConnectionWaitTimeout(int connectionWaitTimeout)
throws UniversalConnectionPoolException
int - New connection wait timeout.
UniversalConnectionPoolException - If an error occurs while changing the connection wait timeout.int getTimeToLiveConnectionTimeout()
void setTimeToLiveConnectionTimeout(int timeToLiveConnectionTimeout)
throws UniversalConnectionPoolException
int - New time to live connection timeout.
UniversalConnectionPoolException - If an error occurs while changing the time to live connection
timeout.int getTimeoutCheckInterval()
void setTimeoutCheckInterval(int timeoutCheckInterval)
throws UniversalConnectionPoolException
int - New timeout check interval.
UniversalConnectionPoolException - If an error occurs while changing the timeout check interval.boolean getValidateConnectionOnBorrow()
void setValidateConnectionOnBorrow(boolean validateConnectionOnBorrow)
boolean - New validate connection on borrow value.
UniversalConnectionPoolException - If an error occurs while changing the validate connection on
borrow value.int getConnectionHarvestTriggerCount()
void setConnectionHarvestTriggerCount(int connectionHarvestTriggerCount)
throws UniversalConnectionPoolException
int - New connection harvest trigger count.
UniversalConnectionPoolException - If an error occurs while changing the connection harvest
trigger count.int getConnectionHarvestMaxCount()
void setConnectionHarvestMaxCount(int connectionHarvestMaxCount)
throws UniversalConnectionPoolException
int - New connection harvest maximum count.
UniversalConnectionPoolException - If an error occurs while changing the connection harvest
maximum count.long getMaxConnectionReuseTime()
void setMaxConnectionReuseTime(long maxConnectionReuseTime)
throws UniversalConnectionPoolException
long - New maximum connection reuse time (in seconds).
UniversalConnectionPoolException - If an error occurs while changing the maximum connection reuse
time.int getMaxConnectionReuseCount()
void setMaxConnectionReuseCount(int maxConnectionReuseCount)
throws UniversalConnectionPoolException
int - New maximum connection reuse count.
UniversalConnectionPoolException - If an error occurs while changing the maximum connection reuse
count.int getAvailableConnectionsCount()
int getBorrowedConnectionsCount()
UniversalConnectionPoolStatistics getStatistics()
UniversalConnectionPoolLifeCycleState getLifeCycleState()
javax.management.modelmbean.ModelMBeanAttributeInfo[] getUCPMBeanAttributes()
throws UniversalConnectionPoolException
ModelMBeanAttributeInfo[].
UniversalConnectionPoolException - If an error occurs while getting
ModelMBeanAttributeInfo[].
javax.management.modelmbean.ModelMBeanOperationInfo[] getUCPMBeanOperations()
throws UniversalConnectionPoolException
ModelMBeanOperationInfo[].
UniversalConnectionPoolException - If an error occurs while getting
ModelMBeanOperationInfo[].
javax.management.modelmbean.ModelMBeanInfo getMBeanInfo(javax.management.ObjectName mbeanObjName,
java.lang.String mbeanDisplayName)
throws UniversalConnectionPoolException
MBeanInfo to define attributes, constructors,
operations and notifications to expose to the remote users.
ObjectName - Unique name for the Universal Connection Pool MBean.String - Display name for the Universal Connection Pool MBean.
ModelMBeanInfo for Universal Connection Pool MBean.
UniversalConnectionPoolException - If an error occurs while getting
ModelMBeanInfo for the Universal Connection Pool
MBean.
|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2.0.4) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||