Interface WatchdogProvider (2.46.1)

  public 
  
 interface 
 WatchdogProvider 
 

Methods

getWatchdog()

  public 
  
 abstract 
  
 Watchdog 
  
 getWatchdog 
 () 
 
Returns
Type
Description

needsCheckInterval()

  public 
  
 abstract 
  
 boolean 
  
 needsCheckInterval 
 () 
 
Returns
Type
Description

needsClock()

  public 
  
 abstract 
  
 boolean 
  
 needsClock 
 () 
 
Returns
Type
Description

needsExecutor()

  public 
  
 abstract 
  
 boolean 
  
 needsExecutor 
 () 
 
Returns
Type
Description

shouldAutoClose()

  public 
  
 abstract 
  
 boolean 
  
 shouldAutoClose 
 () 
 

Return true if the watchdog should be automatically unscheduled.

Returns
Type
Description

withCheckInterval(Duration checkInterval)

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

withClock(ApiClock clock)

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

withExecutor(ScheduledExecutorService executor)

  public 
  
 abstract 
  
 WatchdogProvider 
  
 withExecutor 
 ( 
 ScheduledExecutorService 
  
 executor 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: