|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemHealthIndicator
System health indicator.
| Nested Class Summary | |
|---|---|
static class |
SystemHealthIndicator.ValueStatus
Enumeration of the possible states of a value attached to the indicator, which represent the health of the component that is monitored. |
| Field Summary | |
|---|---|
static java.lang.String |
CATEGORY_CACHING
A default category for caching related indicators. |
static java.lang.String |
CATEGORY_RESPONSE_TIME
A default category for response time related indicators. |
static java.lang.String |
CATEGORY_SETTINGS
A default category for configuration related indicators. |
static java.lang.String |
JMX_CATEGORY_KEY
The key for the JMX category property. |
static java.lang.String |
JMX_PI_DOMAIN
The JMX domain under which indicator MBeans are stored. |
static java.lang.String |
JMX_TITLE_KEY
The key for the JMX title property. |
static java.lang.String |
JMX_TYPE_KEY
The key for the JMX type property. |
static java.lang.String |
TYPE_CUSTOM
The type which is to be used by WCBs that provide custom indicators. |
static java.lang.String |
TYPE_SYSTEM
The type which is to be used by WM out-of-the-box indicators. |
| Method Summary | |
|---|---|
java.lang.String |
getCategory()
Get the category of this indicator. |
java.lang.String |
getId()
|
java.lang.String |
getMessage(java.util.Locale locale)
Get an explanatory message in the given language. |
java.lang.String |
getName(java.util.Locale locale)
Get name of this performance indicator in the given language. |
java.lang.String |
getType()
Get the type of this indicator. |
java.lang.Object |
getValue()
|
SystemHealthIndicator.ValueStatus |
getValueState()
|
void |
reset()
Resets the indicator. |
| Field Detail |
|---|
static final java.lang.String JMX_PI_DOMAIN
static final java.lang.String JMX_TITLE_KEY
static final java.lang.String JMX_CATEGORY_KEY
static final java.lang.String JMX_TYPE_KEY
static final java.lang.String TYPE_SYSTEM
static final java.lang.String TYPE_CUSTOM
static final java.lang.String CATEGORY_RESPONSE_TIME
static final java.lang.String CATEGORY_CACHING
static final java.lang.String CATEGORY_SETTINGS
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getCategory()
java.lang.String getType()
TYPE_SYSTEM and TYPE_CUSTOM.
WCB developers should use the latter.
java.lang.String getName(java.util.Locale locale)
locale - the locale
java.lang.Object getValue()
SystemHealthIndicator.ValueStatus getValueState()
java.lang.String getMessage(java.util.Locale locale)
locale - the current locale
void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||