|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WatchdogService
This interface provides methods for starting, stopping, and updating a hardware watchdog present on the system. Updating the watchdog, once started, prevents the system from rebooting.
Method Summary | |
---|---|
void |
checkin(CriticalComponent criticalService)
This method is used to notify the Watchdog Service that a critical service has 'checked in' and the reboot timer should be reset. |
List<CriticalComponent> |
getCriticalComponents()
Returns the list of the currently registered CriticalComponents |
int |
getHardwareTimeout()
Returns the timeout value for the hardware watchdog in increments of milliseconds. |
void |
registerCriticalService(CriticalComponent criticalComponent)
Register a critical service with the Critical Service Check-in. |
void |
startWatchdog()
Starts the hardware watchdog on the device. |
void |
stopWatchdog()
Stops the hardware Watchdog on the device |
void |
unregisterCriticalService(CriticalComponent criticalComponent)
Unregister a critical service with the Critical Service Check-in. |
Method Detail |
---|
void startWatchdog()
void stopWatchdog()
int getHardwareTimeout()
void registerCriticalService(CriticalComponent criticalComponent)
criticalService
- A CriticalService
to be registered.timeout
- A timeout value that the critical service cannot exceed
between updates without generating a system reboot. The
time is expressed in seconds.void unregisterCriticalService(CriticalComponent criticalComponent)
criticalService
- A CriticalService
to be unregistered.List<CriticalComponent> getCriticalComponents()
void checkin(CriticalComponent criticalService)
criticalService
- A criticalService
to be updated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |