public class WatchdogTimer
extends java.lang.Object
WatchdogTimer expects to receive a pulse() at least once
every period units. Once per every period in which a
pulse() is not received, the provided Runnable will be
executed.| Constructor and Description |
|---|
WatchdogTimer(java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
long period,
java.util.concurrent.TimeUnit unit,
java.lang.Runnable runnable) |