|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The System Monitoring Service provides tools for the management of system level services. This interface will provide a Critical Service Check-in (Watchdog) that monitors critical service bundles at runtime, an API for LED management, and aggregation of error/warning/notify messages that are sent to a back-end.
Field Summary | |
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface. |
Method Summary | |
void |
forceReboot()
This method stops the updates to the hardware watchdog, forcing a reboot. |
boolean |
isRegistered(java.lang.String serviceName)
Returns true if the specified service has been registered, false otherwise. |
void |
registerCriticalService(java.lang.String serviceName,
int timeout)
This method is used to register a critical service with the Critical Service Check-in (Watchdog). |
void |
unregisterCriticalService(java.lang.String serviceName)
This method is used to unregister a critical service with the Critical Service Check-in (Watchdog). |
void |
updateCriticalService(java.lang.String serviceName)
This method is used to notify the Critical Service Check-in Watchdog that a critical service has issued an update. |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public void registerCriticalService(java.lang.String serviceName, int timeout)
serviceName
- A String representing the name of the critical service.timeout
- A timeout value that the critical service cannot exceed
between updates without generating a system reboot. The
time is expressed in seconds.public void unregisterCriticalService(java.lang.String serviceName)
serviceName
- A String representing the name of the critical service.public void updateCriticalService(java.lang.String serviceName)
serviceName
- A String representing the name of the critical service.public void forceReboot()
public boolean isRegistered(java.lang.String serviceName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |