Top Methods
org.apache.sshd.common.util.threads

public Interface ManagedExecutorServiceSupplier

extends ExecutorServiceProvider
Imports
java.util.function.Supplier

Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public void
setExecutorServiceProvider(Supplier<? extends CloseableExecutorService>
The Supplier of CloseableExecutorService-s to be used when asynchronous execution is required. If null then a single-threaded ad-hoc service is used.
provider
)

Inherited from org.apache.sshd.common.util.threads.ExecutorServiceProvider:
getExecutorServiceProviderresolveExecutorService

Method Detail

setExecutorServiceProviderback to summary
public void setExecutorServiceProvider(Supplier<? extends CloseableExecutorService> provider)
Parameters
provider:Supplier<? extends CloseableExecutorService>

The Supplier of CloseableExecutorService-s to be used when asynchronous execution is required. If null then a single-threaded ad-hoc service is used.