BEA Systems, Inc.

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


weblogic.management.configuration
Interface WorkManagerMBean

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

public interface WorkManagerMBean
extends DeploymentMBean

Configuration MBean representing WorkManager parameters. A WorkManager configuration can have a RequestClass(FairShare, ResponseTime, ContextBased), MinThreadsConstraint, MaxThreadsConstraint, Capacity and ShutdownTrigger. All these are optional and need to be configured as needed. An empty WorkManager without configuration gets its own default fair share. The default fair share value is 50.

Since:
9.0.0.0
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
 
Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 weblogic.management.configuration.CapacityMBean getCapacity()
          The total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.
 ContextRequestClassMBean getContextRequestClass()
          The mapping of Request Classes to security names and groups.
 weblogic.management.configuration.FairShareRequestClassMBean getFairShareRequestClass()
          Get the FairShareRequestClass for this WorkManager
 boolean getIgnoreStuckThreads()
          Specifies whether this Work Manager ignores "stuck" threads.
 MaxThreadsConstraintMBean getMaxThreadsConstraint()
          The maximum number of concurrent threads that can be allocated to execute requests.
 MinThreadsConstraintMBean getMinThreadsConstraint()
          The minimum number of threads allocated to resolve deadlocks.
 ResponseTimeRequestClassMBean getResponseTimeRequestClass()
          The response time goal (in milliseconds).
 WorkManagerShutdownTriggerMBean getWorkManagerShutdownTrigger()
          Configure a shutdown trigger for this WorkManager.
 void setCapacity(weblogic.management.configuration.CapacityMBean cap)
          Specifies whether this Work Manager ignores "stuck" threads.
 void setContextRequestClass(ContextRequestClassMBean crc)
          The mapping of Request Classes to security names and groups.
 void setFairShareRequestClass(weblogic.management.configuration.FairShareRequestClassMBean fsrc)
          Set the FairShareRequestClass for this WorkManager
 void setIgnoreStuckThreads(boolean value)
          Specifies whether this Work Manager ignores "stuck" threads.
 void setMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)
          The maximum number of concurrent threads that can be allocated to execute requests.
 void setMinThreadsConstraint(MinThreadsConstraintMBean mtc)
          The minimum number of threads allocated to resolve deadlocks.
 void setResponseTimeRequestClass(ResponseTimeRequestClassMBean rtrc)
          The response time goal (in milliseconds).
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
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
 

Method Detail

getCapacity

public weblogic.management.configuration.CapacityMBean getCapacity()

The total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.

Returns:
The capacity value
See Also:
CapacityMBean

getContextRequestClass

public ContextRequestClassMBean getContextRequestClass()

The mapping of Request Classes to security names and groups.

See Also:
ContextRequestClassMBean

getFairShareRequestClass

public weblogic.management.configuration.FairShareRequestClassMBean getFairShareRequestClass()

Get the FairShareRequestClass for this WorkManager

See Also:
FairShareRequestClassMBean

getIgnoreStuckThreads

public boolean getIgnoreStuckThreads()

Specifies whether this Work Manager ignores "stuck" threads.


getMaxThreadsConstraint

public MaxThreadsConstraintMBean getMaxThreadsConstraint()

The maximum number of concurrent threads that can be allocated to execute requests.

Returns:
The max threads value
See Also:
MaxThreadsConstraintMBean

getMinThreadsConstraint

public MinThreadsConstraintMBean getMinThreadsConstraint()

The minimum number of threads allocated to resolve deadlocks.

Returns:
The min threads value
See Also:
MinThreadsConstraintMBean

getResponseTimeRequestClass

public ResponseTimeRequestClassMBean getResponseTimeRequestClass()

The response time goal (in milliseconds).

Returns:
The response time value
See Also:
ResponseTimeRequestClassMBean

getWorkManagerShutdownTrigger

public WorkManagerShutdownTriggerMBean getWorkManagerShutdownTrigger()

Configure a shutdown trigger for this WorkManager. Specifies the condition to be used to shutdown the WorkManager. The Server health monitoring periodically checks to see if the conidtion is met and shuts down the work manager if needed.


setCapacity

public void setCapacity(weblogic.management.configuration.CapacityMBean cap)

Specifies whether this Work Manager ignores "stuck" threads.

See Also:
CapacityMBean

setContextRequestClass

public void setContextRequestClass(ContextRequestClassMBean crc)

The mapping of Request Classes to security names and groups.

See Also:
ContextRequestClassMBean

setFairShareRequestClass

public void setFairShareRequestClass(weblogic.management.configuration.FairShareRequestClassMBean fsrc)

Set the FairShareRequestClass for this WorkManager

See Also:
FairShareRequestClassMBean

setIgnoreStuckThreads

public void setIgnoreStuckThreads(boolean value)

Specifies whether this Work Manager ignores "stuck" threads.


setMaxThreadsConstraint

public void setMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)

The maximum number of concurrent threads that can be allocated to execute requests.

See Also:
MaxThreadsConstraintMBean

setMinThreadsConstraint

public void setMinThreadsConstraint(MinThreadsConstraintMBean mtc)

The minimum number of threads allocated to resolve deadlocks.

See Also:
MinThreadsConstraintMBean

setResponseTimeRequestClass

public void setResponseTimeRequestClass(ResponseTimeRequestClassMBean rtrc)

The response time goal (in milliseconds).

See Also:
ResponseTimeRequestClassMBean

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