Package com.google.api.gax.rpc
Interface WatchdogProvider
-
- All Known Implementing Classes:
FixedWatchdogProvider,InstantiatingWatchdogProvider
public interface WatchdogProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WatchdoggetWatchdog()booleanneedsCheckInterval()booleanneedsClock()booleanneedsExecutor()booleanshouldAutoClose()WatchdogProviderwithCheckInterval(org.threeten.bp.Duration checkInterval)WatchdogProviderwithClock(com.google.api.core.ApiClock clock)WatchdogProviderwithExecutor(java.util.concurrent.ScheduledExecutorService executor)
-
-
-
Method Detail
-
needsClock
boolean needsClock()
-
withClock
WatchdogProvider withClock(@Nonnull com.google.api.core.ApiClock clock)
-
needsCheckInterval
boolean needsCheckInterval()
-
withCheckInterval
WatchdogProvider withCheckInterval(org.threeten.bp.Duration checkInterval)
-
needsExecutor
boolean needsExecutor()
-
withExecutor
WatchdogProvider withExecutor(java.util.concurrent.ScheduledExecutorService executor)
-
getWatchdog
Watchdog getWatchdog()
-
shouldAutoClose
boolean shouldAutoClose()
-
-