public interface WatchdogService
Modifier and Type | Method and Description |
---|---|
void |
checkin(CriticalComponent criticalComponent)
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 |
registerCriticalComponent(CriticalComponent criticalComponent)
Register a critical component with the WatchdogService Check-in.
|
void |
registerCriticalService(CriticalComponent criticalComponent)
Deprecated.
|
void |
startWatchdog()
Deprecated.
|
void |
stopWatchdog()
Deprecated.
|
void |
unregisterCriticalComponent(CriticalComponent criticalComponent)
Unregister a critical component with the WatchdogService Check-in.
|
void |
unregisterCriticalService(CriticalComponent criticalComponent)
Deprecated.
|
@Deprecated void startWatchdog()
@Deprecated void stopWatchdog()
int getHardwareTimeout()
@Deprecated 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.@Deprecated void unregisterCriticalService(CriticalComponent criticalComponent)
criticalService
- A CriticalService
to be unregistered.void registerCriticalComponent(CriticalComponent criticalComponent)
CriticalComponent
- The CriticalComponent 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 unregisterCriticalComponent(CriticalComponent criticalComponent)
CriticalComponent
- The CriticalComponent to be unregistered.List<CriticalComponent> getCriticalComponents()
void checkin(CriticalComponent criticalComponent)
criticalComponent
- The criticalComponent to be updated.Copyright © 2014. All Rights Reserved.