BEA Systems, Inc.

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

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface ExecuteQueueMBean

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

public interface ExecuteQueueMBean
extends ConfigurationMBean

This bean is used to configure an execute queue and its associated thread pool.

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://www.oracle.com/technology/documentation/index.html.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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

DEFAULT_QUEUE_NAME

public static final String DEFAULT_QUEUE_NAME
The name of the default execute queue. getName() on the ExecuteQueueMBean which represents the default execute queue will return this name.

See Also:
Constant Field Values
Method Detail

getQueueLength

public int getQueueLength()

The maximum number of simultaneous requests that this server can hold in the queue.

Returns:
The queueLength value
Default value:
65536
Minimum value:
256
Maximum value:
1073741824

getQueueLengthThresholdPercent

public int getQueueLengthThresholdPercent()

The percentage of the Queue Length size that can be reached before this server indicates an overflow condition for the queue.

Returns:
The queueLengthThresholdPercent value
Default value:
90
Minimum value:
1
Maximum value:
99

getThreadCount

public int getThreadCount()

The number of threads assigned to this queue.

Returns:
The threadCount value
Default value:
ServerLegalHelper.DEFAULT_THREAD_POOL_SIZE
Minimum value:
0
Maximum value:
65536
Production mode default value:
ServerLegalHelper.PRODUCTION_MODE_THREAD_POOL_SIZE

getThreadsIncrease

public int getThreadsIncrease()

The number of threads to grow the queue length when the thread count reaches the QueueLengthThreasholdPercent value. See the QueueLengthThresholdPercent value.

Returns:
The threadsIncrease value
Default value:
0
Minimum value:
0
Maximum value:
65536

getThreadsMaximum

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.

Returns:
The threadsMaximum value
Default value:
400
Minimum value:
1
Maximum value:
65536

getThreadsMinimum

public int getThreadsMinimum()

The minimum number of threads that WebLogic Server will maintain in the queue.

Returns:
The threadsMinimum value
Default value:
5
Minimum value:
0
Maximum value:
65536

setQueueLength

public void setQueueLength(int value)
                    throws InvalidAttributeValueException

Sets the value of the QueueLength attribute.

Parameters:
value - The new queueLength value
Throws:
InvalidAttributeValueException
See Also:
getQueueLength()

setQueueLengthThresholdPercent

public void setQueueLengthThresholdPercent(int value)
                                    throws InvalidAttributeValueException
Parameters:
value - The new queueLengthThresholdPercent value
Throws:
InvalidAttributeValueException

setThreadCount

public void setThreadCount(int value)
                    throws InvalidAttributeValueException

Sets the value of the ThreadCount attribute.

Parameters:
value - The new threadCount value
Throws:
InvalidAttributeValueException
See Also:
getThreadCount()

setThreadPriority

public void setThreadPriority(int value)
                       throws InvalidAttributeValueException

Sets the priority of the threads associated with this queue.

Parameters:
value - The new threadPriority value
Throws:
InvalidAttributeValueException

setThreadsIncrease

public void setThreadsIncrease(int value)
                        throws InvalidAttributeValueException

Sets the value of the ThreadsIncrease attribute.

Parameters:
value - The new threadsIncrease value
Throws:
InvalidAttributeValueException
See Also:
getThreadsIncrease()

setThreadsMaximum

public void setThreadsMaximum(int value)
                       throws InvalidAttributeValueException

Sets the value of the ThreadsMaximum attribute.

Parameters:
value - The new threadsMaximum value
Throws:
InvalidAttributeValueException
See Also:
getThreadsMaximum()

setThreadsMinimum

public void setThreadsMinimum(int value)
                       throws InvalidAttributeValueException

Sets the value of the ThreadsMinmum attribute.

Parameters:
value - The new threadsMinimum value
Throws:
InvalidAttributeValueException
See Also:
getThreadsMinimum()

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