| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.health.HealthState
public final class HealthState
This class encapsulates the health information returned by a Server Service. Services register with the server self-health monitor service and provide health information through this class.
| Field Summary | |
|---|---|
| static int | HEALTH_CRITICALSomething must be done now to prevent service failure. | 
| static int | HEALTH_FAILEDService has failed - must be restarted. | 
| static int | HEALTH_OKServer Service is healthy. | 
| static int | HEALTH_OVERLOADEDService is functioning normally but there is too much work in it. | 
| static int | HEALTH_WARNService could have problems in the future. | 
| static String | LOW_MEMORY_REASONReason code that indicates that the server is low on memory. | 
| Method Summary | |
|---|---|
|  int | compareSeverityTo(HealthState other)Compares the severity of the supplied HealthState to this object's severity. | 
|  String[] | getReasonCode()List of reasons corresponding to the current HealthState. | 
|  int | getState()Health state returned by this service. | 
|  String | getSubsystemName()Name of the service providing health information | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final int HEALTH_OK
public static final int HEALTH_WARN
public static final int HEALTH_CRITICAL
public static final int HEALTH_FAILED
public static final int HEALTH_OVERLOADED
public static final String LOW_MEMORY_REASON
OVERLOADED with this reason
 code if the low threshold is reached.
OverloadProtectionMBean, 
Constant Field Values| Method Detail | 
|---|
public String getSubsystemName()
public int getState()
HEALTH_OK, HEALTH_WARN, 
 HEALTH_CRITICAL, HEALTH_FAILED, 
 HEALTH_OVERLOADED
public int compareSeverityTo(HealthState other)
other - 
public String[] getReasonCode()
public String toString()
toString in class Object| 
 | 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 API Reference 11g Release 1 (10.3.6) Part Number E13941-06 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||