BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface ExecuteQueueMBean


public interface ExecuteQueueMBean
extends ConfigurationMBean

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

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Field Summary
static long CACHING_STUB_SVUID
          Description of the Field
static java.lang.String DEFAULT_QUEUE_NAME
          The name of the default execute queue.
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 int getThreadCount()
          Returns the number of threads assigned to this queue.
 int getThreadsMaximum()
          Returns the maximum number of threads in the pool.
 void setQueueLength(int value)
          Sets the queueLength attribute of the ExecuteQueueMBean object
 void setThreadCount(int value)
          Sets the threadCount attribute of the ExecuteQueueMBean object
 void setThreadPriority(int value)
          Sets the threadPriority attribute of the ExecuteQueueMBean object
 void setThreadsMaximum(int value)
           
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Description of the Field

DEFAULT_QUEUE_NAME

public static final java.lang.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.
Method Detail

setQueueLength

public void setQueueLength(int value)
                    throws javax.management.InvalidAttributeValueException
Sets the queueLength attribute of the ExecuteQueueMBean object

Parameters:
value - The new queueLength value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

setThreadPriority

public void setThreadPriority(int value)
                       throws javax.management.InvalidAttributeValueException
Sets the threadPriority attribute of the ExecuteQueueMBean object

Parameters:
value - The new threadPriority value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getThreadCount

public int getThreadCount()
Returns the number of threads assigned to this queue.

Default Value: ServerLegalHelper.DEFAULT_THREAD_POOL_SIZE
Legal Minimum Value: 0
Legal Maximum Value: 65536
Returns:
The threadCount value

setThreadCount

public void setThreadCount(int value)
                    throws javax.management.InvalidAttributeValueException
Sets the threadCount attribute of the ExecuteQueueMBean object

Parameters:
value - The new threadCount value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

getThreadsMaximum

public int getThreadsMaximum()
Returns the maximum number of threads in the pool.

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

setThreadsMaximum

public void setThreadsMaximum(int value)
                       throws javax.management.InvalidAttributeValueException

Parameters:
value - The new threadsMaximum value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b