Interface IHealthInformation
-
public interface IHealthInformation
Provide Health Information- Author:
- I-D Media AG
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getTimeOfLastHealthSignal()
Get last health signal time in millislong
getTimePassedSinceLastHealthSignal()
Get the time between now and the last health signal in millisecondsboolean
isSleeping()
Check if module is sleeping.void
setSleeping(boolean bSetSleeping)
Set to sleepvoid
updateHealthSignal()
Update last health signal with current timestamp
-
-
-
Method Detail
-
isSleeping
boolean isSleeping()
Check if module is sleeping. In this case, we will not evaluate the last health signal timestamp- Returns:
-
updateHealthSignal
void updateHealthSignal()
Update last health signal with current timestamp
-
getTimePassedSinceLastHealthSignal
long getTimePassedSinceLastHealthSignal()
Get the time between now and the last health signal in milliseconds- Returns:
-
getTimeOfLastHealthSignal
long getTimeOfLastHealthSignal()
Get last health signal time in millis- Returns:
-
setSleeping
void setSleeping(boolean bSetSleeping)
Set to sleep- Parameters:
bSetSleeping
-
-
-