Interface ManagedExecutorServiceSupplier
- All Superinterfaces:
ExecutorServiceProvider
- All Known Implementing Classes:
ScpCommandFactory, SftpSubsystemFactory
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider) Methods inherited from interface ExecutorServiceProvider
getExecutorServiceProvider, resolveExecutorService
-
Method Details
-
setExecutorServiceProvider
- Parameters:
provider- TheSupplierofCloseableExecutorService-s to be used when asynchronous execution is required. Ifnullthen a single-threaded ad-hoc service is used.
-