servicetalk-transport-netty-internal/src/main/java/io/servicetalk/transport/netty/internal/NettyIoExecutors.java
/**
     * Create a new {@link NettyIoExecutor}.
     *
     * @param <T> Type of the IO thread instances created by factory.
     * @param ioThreads number of threads.
     * @param threadFactory the {@link IoThreadFactory} to use. If possible you should use an instance of
     * {@link NettyIoThreadFactory} as it allows internal optimizations.
     * @return The created {@link IoExecutor}
     */
Create a new  NettyIoExecutor.
@param  Type of the IO thread instances created by factory.
@param ioThreads number of threads.
@param threadFactory the  IoThreadFactory to use. If possible you should use an instance of
NettyIoThreadFactory as it allows internal optimizations.
@return The created  IoExecutor
Create a new NettyIoExecutor . @param Type of the IO thread instances created by factory . @param ioThreads number of threads . @param threadFactory the IoThreadFactory to use . If possible you should use an instance of NettyIoThreadFactory as it allows internal optimizations . @return The created IoExecutor
public static <T extends Thread & IoThread> EventLoopAwareNettyIoExecutor createIoExecutor(
            int ioThreads, IoThreadFactory<T> threadFactory) {
        validateIoThreads(ioThreads);
        return new EventLoopGroupIoExecutor(createEventLoopGroup(ioThreads, threadFactory), true, true);
    }
public static < T extends Thread & IoThread > EventLoopAwareNettyIoExecutor createIoExecutor ( int ioThreads , IoThreadFactory < T > threadFactory ) { validateIoThreads ( ioThreads ) ; return new EventLoopGroupIoExecutor ( createEventLoopGroup ( ioThreads , threadFactory ) , true , true ) ; }
Create a new {@link NettyIoExecutor}.
Create a new { @link NettyIoExecutor } .