Interface WatchdogProvider (2.9.0)

publicinterface WatchdogProvider

Methods

getWatchdog()

publicabstractWatchdoggetWatchdog()
Returns
Type Description

needsCheckInterval()

publicabstractbooleanneedsCheckInterval()
Returns
Type Description

needsClock()

publicabstractbooleanneedsClock()
Returns
Type Description

needsExecutor()

publicabstractbooleanneedsExecutor()
Returns
Type Description

shouldAutoClose()

publicabstractbooleanshouldAutoClose()
Returns
Type Description

withCheckInterval(Duration checkInterval)

publicabstractWatchdogProviderwithCheckInterval(DurationcheckInterval)
Parameter
Name Description
checkInterval org.threeten.bp.Duration
Returns
Type Description

withClock(ApiClock clock)

publicabstractWatchdogProviderwithClock(ApiClockclock)
Parameter
Name Description
clock com.google.api.core.ApiClock
Returns
Type Description

withExecutor(ScheduledExecutorService executor)

publicabstractWatchdogProviderwithExecutor(ScheduledExecutorServiceexecutor)
Parameter
Name Description
Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.