|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JDBCSystemResourceMBean
public interface JDBCMultiPoolMBean
This MBean represents a JDBC Multipool, which is a pool of JDBC connection pools.
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
String |
getACLName()
Deprecated. The access control list (ACL) used to control access to this MultiPool. |
String |
getAlgorithmType()
Deprecated. The algorithm type for this Multipool. |
String |
getConnectionPoolFailoverCallbackHandler()
Deprecated. Returns the current value of connectionPoolFailoverCallbackHandler |
boolean |
getFailoverRequestIfBusy()
Deprecated. If enabled, application requests for connections will be routed to alternate pools if current pool is busy. |
int |
getHealthCheckFrequencySeconds()
Deprecated. Returns the current value of healthCheckFrequencySeconds |
JDBCConnectionPoolMBean[] |
getPoolList()
Deprecated. The list of connection pools in the MultiPool. |
void |
setACLName(String newACLName)
Deprecated. Sets the value of the ACLName attribute. |
void |
setAlgorithmType(String algorithm)
Deprecated. Sets the value of the AlgorithmType attribute. |
void |
setConnectionPoolFailoverCallbackHandler(String className)
Deprecated. Used to set the absolute name of the application class that implements the interface weblogic.jdbc.extensions.ConnectionPoolFailoverCallback. |
void |
setFailoverRequestIfBusy(boolean newVal)
Deprecated. Sets the failoverRequestIfBusy value. |
void |
setHealthCheckFrequencySeconds(int newVal)
Deprecated. The frequency at which the MultiPool checks the health of connection pools that were previously found to be dead and were consequently disabled. |
void |
setPoolList(JDBCConnectionPoolMBean[] thePoolList)
Deprecated. Sets the value of the PoolList attribute. |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
String getACLName()
The access control list (ACL) used to control access to this MultiPool.
void setACLName(String newACLName) throws InvalidAttributeValueException
Sets the value of the ACLName attribute.
newACLName
- The new aCLName value
InvalidAttributeValueException
JDBCMultiPoolMBean.getACLName()
JDBCConnectionPoolMBean[] getPoolList()
The list of connection pools in the MultiPool.
void setPoolList(JDBCConnectionPoolMBean[] thePoolList) throws InvalidAttributeValueException
Sets the value of the PoolList attribute.
thePoolList
- The new poolList value
InvalidAttributeValueException
JDBCMultiPoolMBean.getPoolList()
void setAlgorithmType(String algorithm)
Sets the value of the AlgorithmType attribute.
algorithm
- The new algorithmType valueJDBCMultiPoolMBean.getAlgorithmType()
String getAlgorithmType()
The algorithm type for this Multipool.
Multipools support the following algorithm types:
Connection requests are sent to the first connection pool in the list; if the request fails, the request is sent to the next connection pool in the list, and so forth. The process is repeated until a valid connection is obtained, or until the end of the list is reached, in which case an exception will be thrown.
Note that unless FailoverRequestIfBusy="true", the Multipool will only move to the next pool in the list when there is a real problem with the pool, for example the database is down or the pool disabled. For the cases where all connections are busy, the Multipool behaves as a single pool and an exception is thrown.
The Multipool will distribute the connection requests evenly to its member pools. This algorithm also performs the same failover behavior as the high availability algorithm.
JDBCMultiPoolMBean.getFailoverRequestIfBusy()
String getConnectionPoolFailoverCallbackHandler()
ConnectionPoolFailoverCallback
void setConnectionPoolFailoverCallbackHandler(String className)
ConnectionPoolFailoverCallback
void setFailoverRequestIfBusy(boolean newVal)
newVal
- The new attribute valueJDBCMultiPoolMBean.getFailoverRequestIfBusy()
boolean getFailoverRequestIfBusy()
void setHealthCheckFrequencySeconds(int newVal)
newVal
- The new attribute value
int getHealthCheckFrequencySeconds()
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |