public interface ManagedExecutorServiceSupplier extends ExecutorServiceProvider
Modifier and Type | Method and Description |
---|---|
void |
setExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider) |
getExecutorServiceProvider, resolveExecutorService
void setExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider)
provider
- The Supplier
of CloseableExecutorService
-s to be used when asynchronous execution
is required. If null
then a single-threaded ad-hoc service is used.Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.