Class NioEventLoopGroup

    • Constructor Detail

      • NioEventLoopGroup

        public NioEventLoopGroup()
        Deprecated.
        Create a new instance using the default number of threads, the default ThreadFactory and the SelectorProvider which is returned by SelectorProvider.provider().
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads)
        Deprecated.
        Create a new instance using the specified number of threads, ThreadFactory and the SelectorProvider which is returned by SelectorProvider.provider().
      • NioEventLoopGroup

        public NioEventLoopGroup​(java.util.concurrent.ThreadFactory threadFactory)
        Deprecated.
        Create a new instance using the default number of threads, the given ThreadFactory and the SelectorProvider which is returned by SelectorProvider.provider().
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads,
                                 java.util.concurrent.ThreadFactory threadFactory)
        Deprecated.
        Create a new instance using the specified number of threads, the given ThreadFactory and the SelectorProvider which is returned by SelectorProvider.provider().
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads,
                                 java.util.concurrent.Executor executor)
        Deprecated.
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads,
                                 java.util.concurrent.ThreadFactory threadFactory,
                                 java.nio.channels.spi.SelectorProvider selectorProvider)
        Deprecated.
        Create a new instance using the specified number of threads, the given ThreadFactory and the given SelectorProvider.
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads,
                                 java.util.concurrent.ThreadFactory threadFactory,
                                 java.nio.channels.spi.SelectorProvider selectorProvider,
                                 SelectStrategyFactory selectStrategyFactory)
        Deprecated.
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads,
                                 java.util.concurrent.Executor executor,
                                 java.nio.channels.spi.SelectorProvider selectorProvider)
        Deprecated.
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads,
                                 java.util.concurrent.Executor executor,
                                 java.nio.channels.spi.SelectorProvider selectorProvider,
                                 SelectStrategyFactory selectStrategyFactory)
        Deprecated.
      • NioEventLoopGroup

        public NioEventLoopGroup​(int nThreads,
                                 java.util.concurrent.Executor executor,
                                 EventExecutorChooserFactory chooserFactory,
                                 java.nio.channels.spi.SelectorProvider selectorProvider,
                                 SelectStrategyFactory selectStrategyFactory)
        Deprecated.
    • Method Detail

      • setIoRatio

        @Deprecated
        public void setIoRatio​(int ioRatio)
        Deprecated.
        This method is a no-op.
      • rebuildSelectors

        public void rebuildSelectors()
        Deprecated.
        Replaces the current Selectors of the child event loops with newly created Selectors to work around the infamous epoll 100% CPU bug.