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 WorkManagerShutdownTriggerMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface WorkManagerShutdownTriggerMBean
extends ConfigurationMBean

This MBean is used to configure the trigger that shuts down the WorkManager. The trigger specifies the number of threads that need to be stuck for a certain amount of time for the trigger to shutdown the WorkManager automatically. A shutdown WorkManager refuses new work and completes pending work.

Since:
9.0.0.0

Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  int getMaxStuckThreadTime()
          Time after which a executing thread is declared as stuck.
abstract  int getStuckThreadCount()
          Number of stuck threads after which the WorkManager is shutdown
abstract  boolean isResumeWhenUnstuck()
          Whether to resume work manager once the stuck threads were cleared
abstract  void setMaxStuckThreadTime(int time)
          Time after which a executing thread is declared as stuck.
abstract  void setResumeWhenUnstuck(boolean flag)
          Whether to resume work manager once the stuck threads were cleared
abstract  void setStuckThreadCount(int time)
          Number of stuck threads after which the WorkManager is shutdown

 

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

getMaxStuckThreadTime

int getMaxStuckThreadTime()
Time after which a executing thread is declared as stuck.
Returns:
stuck thread time in milliseconds.

setMaxStuckThreadTime

void setMaxStuckThreadTime(int time)
Time after which a executing thread is declared as stuck. Time is specified in milliseconds.

getStuckThreadCount

int getStuckThreadCount()
Number of stuck threads after which the WorkManager is shutdown

setStuckThreadCount

void setStuckThreadCount(int time)
Number of stuck threads after which the WorkManager is shutdown

isResumeWhenUnstuck

boolean isResumeWhenUnstuck()
Whether to resume work manager once the stuck threads were cleared
Since:
12.1.2.0

setResumeWhenUnstuck

void setResumeWhenUnstuck(boolean flag)
Whether to resume work manager once the stuck threads were cleared
Since:
12.1.2.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