|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
||||||||||
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.
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."
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, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
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()
weblogic.jdbc.extensions.ConnectionPoolFailoverCallback
void setConnectionPoolFailoverCallbackHandler(String className)
weblogic.jdbc.extensions.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, 2011, 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 Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |