Type-Safe Access to BEA WebLogic Server 9.2 MBeans (Deprecated)
(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome
interface.)
weblogic.management.configuration
Interface MinThreadsConstraintMBean
- All Superinterfaces:
- ConfigurationMBean, DeploymentMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean
- public interface MinThreadsConstraintMBean
- extends DeploymentMBean
This MBean defines the minimum number of concurrent threads that should
allocated to this constraint provided there are enough pending requests.
Multiple WorkManagers can share a common MinThreadsConstraint.
MinThreadsConstraint perform their own bookkeeping and demand a thread when
the constraint is not met and there are enough requests.
MinThreadsConstraint should be used to tell the WebLogic Server that a
certain number of minimum threads are necessary to prevent server to server
deadlocks. Although the server is self-tuning, specifying
MinThreadsConstraint ensures that the server guarantees minimum threads to
avoid the distributed deadlocks.
Deprecation of MBeanHome and
Type-Safe Interfaces
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://edocs.bea.com.
Method Summary |
int |
getCount()
Minimum number of concurrent threads executing requests that share this
constraint. |
void |
setCount(int count)
Min number of concurrent threads executing requests that share this
constraint. |
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 weblogic.descriptor.DescriptorBean |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
getCount
public int getCount()
- Minimum number of concurrent threads executing requests that share this
constraint.
A count of 0 or -1 is treated as if the constraint is not present. This
means that the constraint is ignored for these two values. A count > 0 can
be dynamically changed to 0 to indicate that constraint enforcement is no
longer needed.
setCount
public void setCount(int count)
- Min number of concurrent threads executing requests that share this
constraint.
A count of 0 or -1 is treated as if the constraint is not present. This
means that the constraint is ignored for these two values. A count > 0 can
be dynamically changed to 0 to indicate that constraint enforcement is no
longer needed.