public interface ISystemMonitorService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
Modifier and Type | Method and Description |
---|---|
void |
forceReboot()
This method stops the updates to the hardware watchdog, forcing a reboot.
|
java.lang.String |
getUptime()
Returns the uptime statistics obtained from the operating system.
|
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.
|
void |
unregisterCriticalService(java.lang.String serviceName)
This method is used to unregister a critical service with the Critical Service
Check-in.
|
void |
updateCriticalService(java.lang.String serviceName)
This method is used to notify the Critical Service Check-in that a critical
service has issued an update.
|
static final java.lang.String SERVICE_NAME
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.void unregisterCriticalService(java.lang.String serviceName)
serviceName
- A String
representing the name of the critical service.void updateCriticalService(java.lang.String serviceName)
serviceName
- A String
representing the name of the critical service.void forceReboot()
boolean isRegistered(java.lang.String serviceName)
java.lang.String getUptime()
Copyright © 2009 Eurotech Inc. All rights reserved.