Class NioConnectionFactoryTransport

  • All Implemented Interfaces:
    Transport

    public class NioConnectionFactoryTransport
    extends NettyConnectionFactoryTransport
    Creates netty connections using an NioEventLoopGroup. The event loop group is shutdown when the connection factory is closed.
    • Constructor Detail

      • NioConnectionFactoryTransport

        public NioConnectionFactoryTransport()
        Creates a new nio connection factory transport.
      • NioConnectionFactoryTransport

        public NioConnectionFactoryTransport​(int ioThreads)
        Creates a new nio connection factory transport.
        Parameters:
        ioThreads - number of threads used for I/O in the event loop group
      • NioConnectionFactoryTransport

        public NioConnectionFactoryTransport​(String name,
                                             int ioThreads)
        Creates a new nio connection factory transport.
        Parameters:
        name - to assign the thread pool
        ioThreads - number of threads used for I/O in the event loop group
      • NioConnectionFactoryTransport

        public NioConnectionFactoryTransport​(int ioThreads,
                                             int messageThreads)
        Creates a new nio connection factory transport.
        Parameters:
        ioThreads - number of threads used for I/O in the event loop group
        messageThreads - number of threads for LDAP message handling in the event loop group
      • NioConnectionFactoryTransport

        public NioConnectionFactoryTransport​(String name,
                                             int ioThreads,
                                             int messageThreads)
        Creates a new nio connection factory transport.
        Parameters:
        name - to assign the thread pool
        ioThreads - number of threads used for I/O in the event loop group
        messageThreads - number of threads for LDAP message handling in the event loop group