Package com.google.api.gax.rpc
Interface WatchdogProvider
- All Known Implementing Classes:
FixedWatchdogProvider,InstantiatingWatchdogProvider
public interface WatchdogProvider
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanReturn true if the watchdog should be automatically unscheduled.withCheckInterval(org.threeten.bp.Duration checkInterval) This method is obsolete.default WatchdogProviderwithCheckIntervalDuration(Duration checkInterval) withExecutor(ScheduledExecutorService executor)
-
Method Details
-
needsClock
boolean needsClock() -
withClock
-
needsCheckInterval
boolean needsCheckInterval() -
withCheckInterval
@ObsoleteApi("Use withCheckIntervalDuration(java.time.Duration) instead") WatchdogProvider withCheckInterval(org.threeten.bp.Duration checkInterval) This method is obsolete. UsewithCheckIntervalDuration(java.time.Duration)instead. -
withCheckIntervalDuration
-
needsExecutor
boolean needsExecutor() -
withExecutor
-
getWatchdog
Watchdog getWatchdog() -
shouldAutoClose
boolean shouldAutoClose()Return true if the watchdog should be automatically unscheduled.
-