public interface WatchdogService
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2013. All Rights Reserved.