Interface ExecutorProvider (2.20.1)

  public 
  
 interface 
 ExecutorProvider 
 

Provides an interface to either build a ScheduledExecutorService or provide a fixed ScheduledExecutorService that will be used to make calls to a service.

Methods

getExecutor()

  public 
  
 abstract 
  
 ScheduledExecutorService 
  
 getExecutor 
 () 
 

Gets the executor to use.

Returns
Type Description
ScheduledExecutorService

shouldAutoClose()

  public 
  
 abstract 
  
 boolean 
  
 shouldAutoClose 
 () 
 

Indicates whether the executor should be closed by the containing client class.

Returns
Type Description
boolean
Design a Mobile Site
View Site in Mobile | Classic
Share by: