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

Part Number E27170-02

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.


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 int getMaxStuckThreadTime()
          Time after which a executing thread is declared as stuck.
 int getStuckThreadCount()
          Number of stuck threads after which the WorkManager is shutdown
 boolean isResumeWhenUnstuck()
          Whether to resume work manager once the stuck threads were cleared
 void setMaxStuckThreadTime(int time)
          Time after which a executing thread is declared as stuck.
 void setResumeWhenUnstuck(boolean flag)
          Whether to resume work manager once the stuck threads were cleared
 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

Default Value:
true

setResumeWhenUnstuck

void setResumeWhenUnstuck(boolean flag)
Whether to resume work manager once the stuck threads were cleared


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