public interface IWatchdog
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
Set<IWatchedCondition> |
getAliveConditions() |
long |
getCheckInterval() |
String[] |
getConditionInfos() |
int |
getCountRegisteredConditions() |
Long |
getId() |
String |
getWatchdogInfo() |
boolean |
isAlive() |
boolean |
isKilled() |
boolean |
isStale() |
boolean |
isUseless()
if the watchdog watches only conditions that are irrelevant it is marked as useles
and it can be shut down.
|
void |
registerCondition(IWatchedCondition cond) |
void |
unregisterCondition(IWatchedCondition cond) |
Long getId()
long getCheckInterval()
void registerCondition(IWatchedCondition cond)
int getCountRegisteredConditions()
Set<IWatchedCondition> getAliveConditions()
void unregisterCondition(IWatchedCondition cond)
boolean isKilled()
boolean isStale()
void activate()
void deactivate()
boolean isUseless()
boolean isAlive()
String[] getConditionInfos()
String getWatchdogInfo()
Copyright © 2017. All rights reserved.