|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)JDBCSystemResourceMBean
This MBean represents a JDBC Multipool, which is a pool of JDBC connection pools.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX"
on http://www.oracle.com/technology/documentation/index.html.
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. The absolute name of the application class that implements the interface weblogic.jdbc.extensions.ConnectionPoolFailoverCallback. |
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. Used to configure the frequency at which the MultiPool checks the health of connection pools that were previously found 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, getName, getNotes, 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 |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Method Detail |
public String getACLName()
The access control list (ACL) used to control access to this MultiPool.
public 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.
getFailoverRequestIfBusy()
public String getConnectionPoolFailoverCallbackHandler()
public boolean getFailoverRequestIfBusy()
public int getHealthCheckFrequencySeconds()
public JDBCConnectionPoolMBean[] getPoolList()
The list of connection pools in the MultiPool.
public void setACLName(String newACLName) throws InvalidAttributeValueException
Sets the value of the ACLName attribute.
newACLName
- The new aCLName value
InvalidAttributeValueException
getACLName()
public void setAlgorithmType(String algorithm)
Sets the value of the AlgorithmType attribute.
algorithm
- The new algorithmType valuegetAlgorithmType()
public void setConnectionPoolFailoverCallbackHandler(String className)
weblogic.jdbc.extensions.ConnectionPoolFailoverCallback
public void setFailoverRequestIfBusy(boolean newVal)
newVal
- The new attribute valuegetFailoverRequestIfBusy()
public void setHealthCheckFrequencySeconds(int newVal)
newVal
- The new attribute valuepublic void setPoolList(JDBCConnectionPoolMBean[] thePoolList) throws InvalidAttributeValueException
Sets the value of the PoolList attribute.
thePoolList
- The new poolList value
InvalidAttributeValueException
getPoolList()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |