public interface Watchdog
Modifier and Type | Method and Description |
---|---|
void |
arm()
Starts supervising.
|
void |
feed()
Notifies that an activity occurs.
|
void |
setWatchdogListener(WatchdogListener watchdogListener)
Sets the watchdog listener that will receive the watchdog notifications.
|
void |
stop()
Stops to supervise.
|
void arm()
void feed()
void setWatchdogListener(WatchdogListener watchdogListener)
watchdogListener
- the watchdog listener to notify.void stop()