BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)


weblogic.management.configuration
Interface MaxThreadsConstraintMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, WebLogicMBean

public interface MaxThreadsConstraintMBean
extends DeploymentMBean

This MBean defines the max number of concurrent threads that can execute requests sharing this max constraint.

MaxThreadsConstraint can be used to tell the server that the requests are constrained by an external resource like a database and allocating more threads that the external resource limit is not going to help since the extra threads are just going to wait.

Since:
9.0.0.0
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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 getConnectionPoolName()
          Name of the connection pool whose size is taken as the max constraint.
 int getCount()
          Maximum number of concurrent threads that can execute requests sharing this constraint.
 void setConnectionPoolName(String connectionPoolName)
          Name of the connection pool whose size is taken as the max constraint.
 void setCount(int count)
          Max number of concurrent threads that can execute requests sharing this constraint.
 
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

getConnectionPoolName

public String getConnectionPoolName()
Name of the connection pool whose size is taken as the max constraint.

This can be the name of a JDBC data source. The max capacity of the data source is used as the constraint.


getCount

public int getCount()
Maximum number of concurrent threads that can execute requests sharing this constraint.

A count of 0 or -1 is treated as if the constraint is not present. This means that no constraint is enforced for these two values. A count > 0 can be dynamically changed to 0 to indicate that constraint enforcement is no longer needed.

Since:
9.0.0.0
Default value:
-1
A dynamic MBean attribute.

setConnectionPoolName

public void setConnectionPoolName(String connectionPoolName)
Name of the connection pool whose size is taken as the max constraint.

This can be the name of a JDBC data source. The max capacity of the data source is used as the constraint.


setCount

public void setCount(int count)
Max number of concurrent threads that can execute requests sharing this constraint.

A count of 0 or -1 is treated as if the constraint is not present. This means that no constraint is enforced for these two values. A count > 0 can be dynamically changed to 0 to indicate that constraint enforcement is no longer needed.

Since:
9.0.0.0
Default value:
-1
A dynamic MBean attribute.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.