|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceStatistics
The ServiceStatics class is used to return service health, availability, and monitoring statistics to the Service Manager.
Method Summary | |
---|---|
String |
getInfo()
Return service statistics, if any. |
boolean |
isAlive()
Query whether the service is alive. |
boolean |
isHealthy()
Query wether the service is "healthy". |
void |
setAlive(boolean alive)
Set the "aliveness" of the service. |
void |
setHealthy(boolean healthy)
Set the "health" of the service. |
void |
setInfo(String info)
Set the monitor statistics for the service. |
Method Detail |
---|
boolean isAlive()
boolean isHealthy()
String getInfo()
void setAlive(boolean alive)
alive
- Set to "true" if the service is responseve, "false" otherwise.void setHealthy(boolean healthy)
healthy
- Set to "true" if the service is healthy, "false" otherwise.void setInfo(String info)
info
- This is an arbitrary string summarizing the service's performance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |