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

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractIoServiceFactoryFactory(org.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService> factory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.sshd.common.Factory<org.apache.sshd.common.util.threads.CloseableExecutorService>
     
    protected org.apache.sshd.common.util.threads.CloseableExecutorService
     
    void
    setExecutorServiceFactory(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, warn

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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 - The CloseableExecutorService factory to use for spawning threads. If null then 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:
      setExecutorServiceFactory in interface IoServiceFactoryFactory
    • newExecutor

      protected org.apache.sshd.common.util.threads.CloseableExecutorService newExecutor()