Class KQueueEventLoopGroup

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected io.netty.channel.IoEventLoop newChild​(Executor executor, io.netty.channel.IoHandlerFactory ioHandlerFactory, Object... args)
      Deprecated.
       
      void setIoRatio​(int ioRatio)
      Deprecated. 
      • Methods inherited from class io.netty.channel.MultiThreadIoEventLoopGroup

        newChild, next
      • Methods inherited from class io.netty.channel.MultithreadEventLoopGroup

        newDefaultThreadFactory, register, register, register
      • Methods inherited from class io.netty.util.concurrent.MultithreadEventExecutorGroup

        awaitTermination, executorCount, isShutdown, isShuttingDown, isTerminated, iterator, shutdown, shutdownGracefully, terminationFuture
      • Methods inherited from class io.netty.util.concurrent.AbstractEventExecutorGroup

        execute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit
      • Methods inherited from interface io.netty.util.concurrent.EventExecutorGroup

        isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, ticker
      • Methods inherited from interface io.netty.channel.EventLoopGroup

        register
      • Methods inherited from interface io.netty.channel.IoEventLoopGroup

        isCompatible, isIoType, register, register, register
    • Constructor Detail

      • KQueueEventLoopGroup

        public KQueueEventLoopGroup()
        Deprecated.
        Create a new instance using the default number of threads and the default ThreadFactory.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads)
        Deprecated.
        Create a new instance using the specified number of threads and the default ThreadFactory.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(ThreadFactory threadFactory)
        Deprecated.
        Create a new instance using the default number of threads and the given ThreadFactory.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    io.netty.channel.SelectStrategyFactory selectStrategyFactory)
        Deprecated.
        Create a new instance using the specified number of threads and the default ThreadFactory.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    ThreadFactory threadFactory)
        Deprecated.
        Create a new instance using the specified number of threads and the given ThreadFactory.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    Executor executor)
        Deprecated.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    ThreadFactory threadFactory,
                                    io.netty.channel.SelectStrategyFactory selectStrategyFactory)
        Deprecated.
        Create a new instance using the specified number of threads and the given ThreadFactory.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    Executor executor,
                                    io.netty.channel.SelectStrategyFactory selectStrategyFactory)
        Deprecated.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    Executor executor,
                                    io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
                                    io.netty.channel.SelectStrategyFactory selectStrategyFactory)
        Deprecated.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    Executor executor,
                                    io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
                                    io.netty.channel.SelectStrategyFactory selectStrategyFactory,
                                    io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
        Deprecated.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    Executor executor,
                                    io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
                                    io.netty.channel.SelectStrategyFactory selectStrategyFactory,
                                    io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
                                    io.netty.channel.EventLoopTaskQueueFactory queueFactory)
        Deprecated.
      • KQueueEventLoopGroup

        public KQueueEventLoopGroup​(int nThreads,
                                    Executor executor,
                                    io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
                                    io.netty.channel.SelectStrategyFactory selectStrategyFactory,
                                    io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
                                    io.netty.channel.EventLoopTaskQueueFactory taskQueueFactory,
                                    io.netty.channel.EventLoopTaskQueueFactory tailTaskQueueFactory)
        Deprecated.
        Parameters:
        nThreads - the number of threads that will be used by this instance.
        executor - the Executor to use, or null if default one should be used.
        chooserFactory - the EventExecutorChooserFactory to use.
        selectStrategyFactory - the SelectStrategyFactory to use.
        rejectedExecutionHandler - the RejectedExecutionHandler to use.
        taskQueueFactory - the EventLoopTaskQueueFactory to use for SingleThreadEventExecutor.execute(Runnable), or null if default one should be used.
        tailTaskQueueFactory - the EventLoopTaskQueueFactory to use for SingleThreadEventLoop.executeAfterEventLoopIteration(Runnable), or null if default one should be used.
    • Method Detail

      • setIoRatio

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

        protected io.netty.channel.IoEventLoop newChild​(Executor executor,
                                                        io.netty.channel.IoHandlerFactory ioHandlerFactory,
                                                        Object... args)
        Deprecated.
        Overrides:
        newChild in class io.netty.channel.MultiThreadIoEventLoopGroup