Interface WatchdogProvider (2.48.1)

public interface WatchdogProvider

Methods

getWatchdog()

public abstract Watchdog getWatchdog()
Returns
Type Description
Watchdog

needsCheckInterval()

public abstract boolean needsCheckInterval()
Returns
Type Description
boolean

needsClock()

public abstract boolean needsClock()
Returns
Type Description
boolean

needsExecutor()

public abstract boolean needsExecutor()
Returns
Type Description
boolean

shouldAutoClose()

public abstract boolean shouldAutoClose()

Return true if the watchdog should be automatically unscheduled.

Returns
Type Description
boolean

withCheckInterval(Duration checkInterval)

public abstract WatchdogProvider withCheckInterval(Duration checkInterval)
Parameter
Name Description
checkInterval org.threeten.bp.Duration
Returns
Type Description
WatchdogProvider

withClock(ApiClock clock)

public abstract WatchdogProvider withClock(ApiClock clock)
Parameter
Name Description
clock ApiClock
Returns
Type Description
WatchdogProvider

withExecutor(ScheduledExecutorService executor)

public abstract WatchdogProvider withExecutor(ScheduledExecutorService executor)
Parameter
Name Description
executor ScheduledExecutorService
Returns
Type Description
WatchdogProvider