|
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 |
public interface ExecuteQueueMBean
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."
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()
Specifies the number of threads to increase the queue length when the queue length theshold is reached. |
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. |
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 |
Field Detail |
---|
static final String DEFAULT_QUEUE_NAME
Method Detail |
---|
int getQueueLength()
The maximum number of simultaneous requests that this server can hold in the queue.
void setQueueLength(int value) throws InvalidAttributeValueException
Sets the value of the QueueLength attribute.
value
- The new queueLength value
InvalidAttributeValueException
ExecuteQueueMBean.getQueueLength()
void setThreadPriority(int value) throws InvalidAttributeValueException
Sets the priority of the threads associated with this queue.
value
- The new threadPriority value
InvalidAttributeValueException
int getThreadCount()
The number of threads assigned to this queue.
void setThreadCount(int value) throws InvalidAttributeValueException
Sets the value of the ThreadCount attribute.
value
- The new threadCount value
InvalidAttributeValueException
ExecuteQueueMBean.getThreadCount()
int getQueueLengthThresholdPercent()
The percentage of the Queue Length size that can be reached before this server indicates an overflow condition for the queue. If the overflow condition is reached and the current thread count has not reached the ThreadsMaximum value, then ThreadsIncrease number of threads are added.
void setQueueLengthThresholdPercent(int value) throws InvalidAttributeValueException
value
- The new queueLengthThresholdPercent value
InvalidAttributeValueException
int getThreadsIncrease()
Specifies the number of threads to increase the queue length when the queue length theshold is reached. This threshold is determined by the QueueLengthThresholdPercent value.
The following consideration applies to the dynamic nature of ThreadsMaximum and ThreadsIncrease attributes. If any of these attributes change during runtime, the changed value comes into effect when the next request is submitted to the execute queue and the scheduler decides to increase threads depending on the queue threshold conditions.
void setThreadsIncrease(int value) throws InvalidAttributeValueException
Sets the value of the ThreadsIncrease attribute.
value
- The new threadsIncrease value
InvalidAttributeValueException
ExecuteQueueMBean.getThreadsIncrease()
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.
A note about dynamic nature of ThreadsMaximum and ThreadsIncrease attributes. If any of these attributes change during runtime, the changed value comes into effect when the next request is submitted to the execute queue and the scheduler decides to increase threads depending on the queue threshold conditions. Imagine a scenario where the queue capacity has already reached the max threshold and the current thread count is already equal to ThreadsMaximum value. If more work is coming into the queue and the administrator wishes to increase the ThreadsMaximum a little to add a few more threads, he/she can do so by changing these attributes dynamically. Please note that the changed value is evaluated when the next request is submitted.
void setThreadsMaximum(int value) throws InvalidAttributeValueException
Sets the value of the ThreadsMaximum attribute.
value
- The new threadsMaximum value
InvalidAttributeValueException
ExecuteQueueMBean.getThreadsMaximum()
void setThreadsMinimum(int value) throws InvalidAttributeValueException
Sets the value of the ThreadsMinmum attribute.
value
- The new threadsMinimum value
InvalidAttributeValueException
ExecuteQueueMBean.getThreadsMinimum()
|
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 |