Package org.apache.sshd.common.io.nio2
Class Nio2ServiceFactoryFactory
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.common.io.AbstractIoServiceFactoryFactory
-
- org.apache.sshd.common.io.nio2.Nio2ServiceFactoryFactory
-
- All Implemented Interfaces:
IoServiceFactoryFactory
public class Nio2ServiceFactoryFactory extends AbstractIoServiceFactoryFactory
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
-
Constructor Summary
Constructors Constructor Description Nio2ServiceFactoryFactory()
Nio2ServiceFactoryFactory(Factory<CloseableExecutorService> executors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoServiceFactory
create(FactoryManager manager)
-
Methods inherited from class org.apache.sshd.common.io.AbstractIoServiceFactoryFactory
getExecutorServiceFactory, newExecutor, setExecutorServiceFactory
-
-
-
-
Constructor Detail
-
Nio2ServiceFactoryFactory
public Nio2ServiceFactoryFactory()
-
Nio2ServiceFactoryFactory
public Nio2ServiceFactoryFactory(Factory<CloseableExecutorService> executors)
- Parameters:
executors
- TheCloseableExecutorService
to use for spawning threads. Ifnull
then an internal service is allocated - in which case it is automatically shutdown
-
-
Method Detail
-
create
public IoServiceFactory create(FactoryManager manager)
-
-