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

public Interface ExecutorServiceProvider

Known Direct Subinterfaces
org.apache.sshd.common.util.threads.ManagedExecutorServiceSupplier
Annotations
@FunctionalInterface
Imports
java.util.function.Supplier

Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public Supplier<? extends CloseableExecutorService>

Returns:

A Supplier of CloseableExecutorService to be used when asynchronous execution required. If null then a single-threaded ad-hoc service is used.
getExecutorServiceProvider
()

public default CloseableExecutorService

Method Detail

getExecutorServiceProviderback to summary
public Supplier<? extends CloseableExecutorService> getExecutorServiceProvider()
Returns:Supplier<? extends CloseableExecutorService>

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

resolveExecutorServiceback to summary
public default CloseableExecutorService resolveExecutorService()