Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface WorkManagerMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, 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

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
abstract  WorkManagerShutdownTriggerMBean createWorkManagerShutdownTrigger()
          Configure the shutdown trigger for the WorkManager.
abstract  void destroyWorkManagerShutdownTrigger()
          Remove the configured shutdown trigger for the WorkManager.
abstract  CapacityMBean getCapacity()
          The total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.
abstract  ContextRequestClassMBean getContextRequestClass()
          The mapping of Request Classes to security names and groups.
abstract  FairShareRequestClassMBean getFairShareRequestClass()
          Get the FairShareRequestClass for this WorkManager
abstract  boolean getIgnoreStuckThreads()
          Specifies whether this Work Manager ignores "stuck" threads.
abstract  MaxThreadsConstraintMBean getMaxThreadsConstraint()
          The maximum number of concurrent threads that can be allocated to execute requests.
abstract  MinThreadsConstraintMBean getMinThreadsConstraint()
          The minimum number of threads allocated to resolve deadlocks.
abstract  ResponseTimeRequestClassMBean getResponseTimeRequestClass()
          The response time goal (in milliseconds).
abstract  WorkManagerShutdownTriggerMBean getWorkManagerShutdownTrigger()
          Configure a shutdown trigger for this WorkManager.
abstract  boolean isApplicationScope()
          Specifies whether this work manager should be scoped to an application.
abstract  void setApplicationScope(boolean value)
          Specifies whether this work manager should be scoped to an application By default, work managers are scoped to an application.
abstract  void setCapacity(CapacityMBean cap)
          Sets the total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.
abstract  void setContextRequestClass(ContextRequestClassMBean crc)
          The mapping of Request Classes to security names and groups.
abstract  void setFairShareRequestClass(FairShareRequestClassMBean fsrc)
          Set the FairShareRequestClass for this WorkManager
abstract  void setIgnoreStuckThreads(boolean value)
          Specifies whether this Work Manager ignores "stuck" threads.
abstract  void setMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)
          The maximum number of concurrent threads that can be allocated to execute requests.
abstract  void setMinThreadsConstraint(MinThreadsConstraintMBean mtc)
          The minimum number of threads allocated to resolve deadlocks.
abstract  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, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, 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
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getFairShareRequestClass

FairShareRequestClassMBean getFairShareRequestClass()

Get the FairShareRequestClass for this WorkManager

See Also:
FairShareRequestClassMBean

setFairShareRequestClass

void setFairShareRequestClass(FairShareRequestClassMBean fsrc)

Set the FairShareRequestClass for this WorkManager

See Also:
FairShareRequestClassMBean

getResponseTimeRequestClass

ResponseTimeRequestClassMBean getResponseTimeRequestClass()

The response time goal (in milliseconds).

Returns:
The response time value
See Also:
ResponseTimeRequestClassMBean

setResponseTimeRequestClass

void setResponseTimeRequestClass(ResponseTimeRequestClassMBean rtrc)

The response time goal (in milliseconds).

See Also:
ResponseTimeRequestClassMBean

getContextRequestClass

ContextRequestClassMBean getContextRequestClass()

The mapping of Request Classes to security names and groups.

See Also:
ContextRequestClassMBean

setContextRequestClass

void setContextRequestClass(ContextRequestClassMBean crc)

The mapping of Request Classes to security names and groups.

See Also:
ContextRequestClassMBean

getMinThreadsConstraint

MinThreadsConstraintMBean getMinThreadsConstraint()

The minimum number of threads allocated to resolve deadlocks.

Returns:
The min threads value
See Also:
MinThreadsConstraintMBean

setMinThreadsConstraint

void setMinThreadsConstraint(MinThreadsConstraintMBean mtc)

The minimum number of threads allocated to resolve deadlocks.

See Also:
MinThreadsConstraintMBean

getMaxThreadsConstraint

MaxThreadsConstraintMBean getMaxThreadsConstraint()

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

Returns:
The max threads value
See Also:
MaxThreadsConstraintMBean

setMaxThreadsConstraint

void setMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)

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

See Also:
MaxThreadsConstraintMBean

getCapacity

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

setCapacity

void setCapacity(CapacityMBean cap)

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

See Also:
CapacityMBean

getIgnoreStuckThreads

boolean getIgnoreStuckThreads()

Specifies whether this Work Manager ignores "stuck" threads. Typically, stuck threads will cause the associated Work Manager to take some action: either switching the application to Admin mode, shutting down the server, or shutting down the Work Manager. If this flag is set, then no thread in this Work Manager is ever considered stuck.

If you do not explicitly specify IGNORE_STUCK_THREADS=TRUE, the default behavior is that upon encountering stuck threads, the server will take one of the aforementioned actions.

See Also:
WorkManagerShutdownTriggerMBean

setIgnoreStuckThreads

void setIgnoreStuckThreads(boolean value)

Specifies whether this Work Manager ignores "stuck" threads.

See Also:
WorkManagerMBean.getIgnoreStuckThreads()

getWorkManagerShutdownTrigger

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.


createWorkManagerShutdownTrigger

WorkManagerShutdownTriggerMBean createWorkManagerShutdownTrigger()

Configure the shutdown trigger for the WorkManager.

Since:
10.3.3.0

destroyWorkManagerShutdownTrigger

void destroyWorkManagerShutdownTrigger()

Remove the configured shutdown trigger for the WorkManager.

Since:
10.3.3.0

isApplicationScope

boolean isApplicationScope()

Specifies whether this work manager should be scoped to an application. By default, work managers are scoped to an application. Set this value to false if the work manager is to be scoped to a domain

Since:
12.2.1.0

setApplicationScope

void setApplicationScope(boolean value)

Specifies whether this work manager should be scoped to an application By default, work managers are scoped to an application. Set this value to false if the work manager is to be scoped to a domain

Since:
12.2.1.0

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09