Interface WatchdogProvider (2.15.0)

public interface WatchdogProvider

Methods

getWatchdog()

public abstract Watchdog getWatchdog()
Returns
TypeDescription
Watchdog

needsCheckInterval()

public abstract boolean needsCheckInterval()
Returns
TypeDescription
boolean

needsClock()

public abstract boolean needsClock()
Returns
TypeDescription
boolean

needsExecutor()

public abstract boolean needsExecutor()
Returns
TypeDescription
boolean

shouldAutoClose()

public abstract boolean shouldAutoClose()
Returns
TypeDescription
boolean

withCheckInterval(Duration checkInterval)

public abstract WatchdogProvider withCheckInterval(Duration checkInterval)
Parameter
NameDescription
checkIntervalorg.threeten.bp.Duration
Returns
TypeDescription
WatchdogProvider

withClock(ApiClock clock)

public abstract WatchdogProvider withClock(ApiClock clock)
Parameter
NameDescription
clockcom.google.api.core.ApiClock
Returns
TypeDescription
WatchdogProvider

withExecutor(ScheduledExecutorService executor)

public abstract WatchdogProvider withExecutor(ScheduledExecutorService executor)
Parameter
NameDescription
executorScheduledExecutorService
Returns
TypeDescription
WatchdogProvider