|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)This bean is used to configure an execute queue and its associated thread pool.
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 | |
static String |
DEFAULT_QUEUE_NAME
The name of the default execute queue. |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
int |
getQueueLength()
The maximum number of simultaneous requests that this server can hold in the queue. |
int |
getQueueLengthThresholdPercent()
The percentage of the Queue Length size that can be reached before this server indicates an overflow condition for the queue. |
int |
getThreadCount()
The number of threads assigned to this queue. |
int |
getThreadsIncrease()
The number of threads to grow the queue length when the thread count reaches the QueueLengthThreasholdPercent value. |
int |
getThreadsMaximum()
The maximum number of threads that this queue is allowed to have; this value prevents WebLogic Server from creating an overly high thread count in the queue in response to continual overflow conditions. |
int |
getThreadsMinimum()
The minimum number of threads that WebLogic Server will maintain in the queue. |
void |
setQueueLength(int value)
Sets the value of the QueueLength attribute. |
void |
setQueueLengthThresholdPercent(int value)
|
void |
setThreadCount(int value)
Sets the value of the ThreadCount attribute. |
void |
setThreadPriority(int value)
Sets the priority of the threads associated with this queue. |
void |
setThreadsIncrease(int value)
Sets the value of the ThreadsIncrease attribute. |
void |
setThreadsMaximum(int value)
Sets the value of the ThreadsMaximum attribute. |
void |
setThreadsMinimum(int value)
Sets the value of the ThreadsMinmum attribute. |
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 |
Field Detail |
public static final String DEFAULT_QUEUE_NAME
Method Detail |
public int getQueueLength()
The maximum number of simultaneous requests that this server can hold in the queue.
public int getQueueLengthThresholdPercent()
The percentage of the Queue Length size that can be reached before this server indicates an overflow condition for the queue.
public int getThreadCount()
The number of threads assigned to this queue.
public int getThreadsIncrease()
The number of threads to grow the queue length when the thread count reaches the QueueLengthThreasholdPercent value. See the QueueLengthThresholdPercent value.
public int getThreadsMaximum()
The maximum number of threads that this queue is allowed to have; this value prevents WebLogic Server from creating an overly high thread count in the queue in response to continual overflow conditions.
public int getThreadsMinimum()
The minimum number of threads that WebLogic Server will maintain in the queue.
public void setQueueLength(int value) throws InvalidAttributeValueException
Sets the value of the QueueLength attribute.
value
- The new queueLength value
InvalidAttributeValueException
getQueueLength()
public void setQueueLengthThresholdPercent(int value) throws InvalidAttributeValueException
value
- The new queueLengthThresholdPercent value
InvalidAttributeValueException
public void setThreadCount(int value) throws InvalidAttributeValueException
Sets the value of the ThreadCount attribute.
value
- The new threadCount value
InvalidAttributeValueException
getThreadCount()
public void setThreadPriority(int value) throws InvalidAttributeValueException
Sets the priority of the threads associated with this queue.
value
- The new threadPriority value
InvalidAttributeValueException
public void setThreadsIncrease(int value) throws InvalidAttributeValueException
Sets the value of the ThreadsIncrease attribute.
value
- The new threadsIncrease value
InvalidAttributeValueException
getThreadsIncrease()
public void setThreadsMaximum(int value) throws InvalidAttributeValueException
Sets the value of the ThreadsMaximum attribute.
value
- The new threadsMaximum value
InvalidAttributeValueException
getThreadsMaximum()
public void setThreadsMinimum(int value) throws InvalidAttributeValueException
Sets the value of the ThreadsMinmum attribute.
value
- The new threadsMinimum value
InvalidAttributeValueException
getThreadsMinimum()
|
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 |