|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CriticalComponent
CriticalComponent is an interface that can be used to denote a component of functionality that is
'critical' to the nature of the system. If a component implements CriticalComponent then it must
state its name as well as its criticalComponentTimeout. The name is a unique identifier in the
system. The timeout is a length of time in milliseconds that the CriticalComponent must check in
with the WatchdogService. If the CriticalComponent goes for a time period of greater
than this timeout, based on the (@link WatchdogService } configuration it will perform some action
(such as rebooting the system).
| Method Summary | |
|---|---|
String |
getCriticalComponentName()
The unique identifier for this CriticalComponent |
int |
getCriticalComponentTimeout()
The maximum amount of time in milliseconds that the CriticalService should check in with the MonitorService before the MonitorService reboots the device. |
| Method Detail |
|---|
String getCriticalComponentName()
MonitorService int getCriticalComponentTimeout()
MonitorService before the MonitorService reboots the device.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||