|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
| 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 | |
|---|---|
WorkManagerShutdownTriggerMBean |
createWorkManagerShutdownTrigger()
Configure the shutdown trigger for the WorkManager. |
void |
destroyWorkManagerShutdownTrigger()
Remove the configured shutdown trigger for the WorkManager. |
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. |
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(CapacityMBean cap)
Sets the total number of requests that can be queued or executing before WebLogic Server begins rejecting requests. |
void |
setContextRequestClass(ContextRequestClassMBean crc)
The mapping of Request Classes to security names and groups. |
void |
setFairShareRequestClass(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, 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
FairShareRequestClassMBeanvoid setFairShareRequestClass(FairShareRequestClassMBean fsrc)
Set the FairShareRequestClass for this WorkManager
FairShareRequestClassMBeanResponseTimeRequestClassMBean getResponseTimeRequestClass()
The response time goal (in milliseconds).
ResponseTimeRequestClassMBeanvoid setResponseTimeRequestClass(ResponseTimeRequestClassMBean rtrc)
The response time goal (in milliseconds).
ResponseTimeRequestClassMBeanContextRequestClassMBean getContextRequestClass()
The mapping of Request Classes to security names and groups.
ContextRequestClassMBeanvoid setContextRequestClass(ContextRequestClassMBean crc)
The mapping of Request Classes to security names and groups.
ContextRequestClassMBeanMinThreadsConstraintMBean getMinThreadsConstraint()
The minimum number of threads allocated to resolve deadlocks.
MinThreadsConstraintMBeanvoid setMinThreadsConstraint(MinThreadsConstraintMBean mtc)
The minimum number of threads allocated to resolve deadlocks.
MinThreadsConstraintMBeanMaxThreadsConstraintMBean getMaxThreadsConstraint()
The maximum number of concurrent threads that can be allocated to execute requests.
MaxThreadsConstraintMBeanvoid setMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)
The maximum number of concurrent threads that can be allocated to execute requests.
MaxThreadsConstraintMBeanCapacityMBean getCapacity()
The total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.
CapacityMBeanvoid setCapacity(CapacityMBean cap)
Sets the total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.
CapacityMBeanboolean 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.
WorkManagerShutdownTriggerMBeanvoid 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.
|
Copyright 1996, 2013, 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.1.2) Part Number E27170-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||