|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerFailureTriggerMBean
Configuration to mark the server as failed when threads are stuck. A failed server in turn can be configured to shutdown or go into admin state.
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
int |
getMaxStuckThreadTime()
The number of seconds that a thread must be continually working before this server diagnoses the thread as being stuck. |
int |
getStuckThreadCount()
The number of stuck threads after which the server is transitioned into FAILED state. |
void |
setMaxStuckThreadTime(int time)
Sets the value of the MaxStuckThreadTime attribute. |
void |
setStuckThreadCount(int count)
Sets the value of the StuckThreadCount attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Method Detail |
---|
int getMaxStuckThreadTime()
The number of seconds that a thread must be continually working before this server diagnoses the thread as being stuck.
For example, if you set this to 600 seconds, WebLogic Server considers a thread to be "stuck" after 600 seconds of continuous use.
void setMaxStuckThreadTime(int time)
Sets the value of the MaxStuckThreadTime attribute.
time
- The new stuckThreadMaxTime value in secondsServerFailureTriggerMBean.getMaxStuckThreadTime()
int getStuckThreadCount()
The number of stuck threads after which the server is transitioned into FAILED state. There are options in OverloadProtectionMBean to suspend and shutdown a FAILED server. By default, the server continues to run in FAILED state.
If the StuckThreadCount value is set to zero then the server never transitions into FAILED server irrespective of the number of stuck threads.
void setStuckThreadCount(int count)
Sets the value of the StuckThreadCount attribute.
count
- The new StuckThreadCount valueServerFailureTriggerMBean.getStuckThreadCount()
|
Copyright 1996, 2011, 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 Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |