Package com.google.api.gax.core
Interface ExecutorProvider
-
- All Known Implementing Classes:
FixedExecutorProvider,InstantiatingExecutorProvider
public interface ExecutorProviderProvides an interface to either build a ScheduledExecutorService or provide a fixed ScheduledExecutorService that will be used to make calls to a service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.ScheduledExecutorServicegetExecutor()Gets the executor to use.booleanshouldAutoClose()Indicates whether the executor should be closed by the containing client class.
-