- Enclosing class:
- Watchdog
public class Watchdog.Task
extends Object
Watchdog Task. Application is expected to call cancel() or reset()
method before triggertime occurs. Canceling a task removes it from ScheduledExecutorService,
and it cannot be used for watchdog purposes anymore. By calling a reset(),
triggertime is reseted to original value and application is again expected
to make either call. If application fails to make either call before triggertime
has elapsed, a call to Listeners triggerTimeMissed() is called.
- Author:
- mcr70