|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkManagerMBean
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.
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 |
---|
FairShareRequestClassMBean getFairShareRequestClass()
Get the FairShareRequestClass for this WorkManager
FairShareRequestClassMBean
void setFairShareRequestClass(FairShareRequestClassMBean fsrc)
Set the FairShareRequestClass for this WorkManager
FairShareRequestClassMBean
ResponseTimeRequestClassMBean getResponseTimeRequestClass()
The response time goal (in milliseconds).
ResponseTimeRequestClassMBean
void setResponseTimeRequestClass(ResponseTimeRequestClassMBean rtrc)
The response time goal (in milliseconds).
ResponseTimeRequestClassMBean
ContextRequestClassMBean getContextRequestClass()
The mapping of Request Classes to security names and groups.
ContextRequestClassMBean
void setContextRequestClass(ContextRequestClassMBean crc)
The mapping of Request Classes to security names and groups.
ContextRequestClassMBean
MinThreadsConstraintMBean getMinThreadsConstraint()
The minimum number of threads allocated to resolve deadlocks.
MinThreadsConstraintMBean
void setMinThreadsConstraint(MinThreadsConstraintMBean mtc)
The minimum number of threads allocated to resolve deadlocks.
MinThreadsConstraintMBean
MaxThreadsConstraintMBean getMaxThreadsConstraint()
The maximum number of concurrent threads that can be allocated to execute requests.
MaxThreadsConstraintMBean
void setMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)
The maximum number of concurrent threads that can be allocated to execute requests.
MaxThreadsConstraintMBean
CapacityMBean getCapacity()
The total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.
CapacityMBean
void setCapacity(CapacityMBean cap)
Sets the total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.
CapacityMBean
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.
WorkManagerShutdownTriggerMBean
void setIgnoreStuckThreads(boolean value)
Specifies whether this Work Manager ignores "stuck" threads.
WorkManagerMBean.getIgnoreStuckThreads()
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.
WorkManagerShutdownTriggerMBean createWorkManagerShutdownTrigger()
Configure the shutdown trigger for the WorkManager.
void destroyWorkManagerShutdownTrigger()
Remove the configured shutdown trigger for the WorkManager.
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
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
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |