Class AbstractIoServiceFactoryFactory
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.io.AbstractIoServiceFactoryFactory
- All Implemented Interfaces:
IoServiceFactoryFactory
- Direct Known Subclasses:
DefaultIoServiceFactoryFactory, Nio2ServiceFactoryFactory
public abstract class AbstractIoServiceFactoryFactory
extends org.apache.sshd.common.util.logging.AbstractLoggingBean
implements IoServiceFactoryFactory
- Author:
- Apache MINA SSHD Project
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractIoServiceFactoryFactory(org.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService> factory) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService> protected org.apache.sshd.common.util.threads.CloseableExecutorServicevoidsetExecutorServiceFactory(org.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService> factory) Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IoServiceFactoryFactory
create
-
Constructor Details
-
AbstractIoServiceFactoryFactory
protected AbstractIoServiceFactoryFactory(org.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService> factory) - Parameters:
factory- TheCloseableExecutorServicefactory to use for spawning threads. Ifnullthen an internal service will be allocated.
-
-
Method Details
-
getExecutorServiceFactory
public org.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService> getExecutorServiceFactory() -
setExecutorServiceFactory
public void setExecutorServiceFactory(org.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService> factory) - Specified by:
setExecutorServiceFactoryin interfaceIoServiceFactoryFactory
-
newExecutor
protected org.apache.sshd.common.util.threads.CloseableExecutorService newExecutor()
-