Class ThreadPerChannelEventLoopGroup

    • Field Detail

      • childArgs

        private final java.lang.Object[] childArgs
        Deprecated.
      • maxChannels

        private final int maxChannels
        Deprecated.
      • executor

        final java.util.concurrent.Executor executor
        Deprecated.
      • activeChildren

        final java.util.Set<EventLoop> activeChildren
        Deprecated.
      • idleChildren

        final java.util.Queue<EventLoop> idleChildren
        Deprecated.
      • shuttingDown

        private volatile boolean shuttingDown
        Deprecated.
      • terminationFuture

        private final Promise<?> terminationFuture
        Deprecated.
      • childTerminationListener

        private final FutureListener<java.lang.Object> childTerminationListener
        Deprecated.
    • Constructor Detail

      • ThreadPerChannelEventLoopGroup

        protected ThreadPerChannelEventLoopGroup()
        Deprecated.
        Create a new ThreadPerChannelEventLoopGroup with no limit in place.
      • ThreadPerChannelEventLoopGroup

        protected ThreadPerChannelEventLoopGroup​(int maxChannels,
                                                 java.util.concurrent.ThreadFactory threadFactory,
                                                 java.lang.Object... args)
        Deprecated.
        Parameters:
        maxChannels - the maximum number of channels to handle with this instance. Once you try to register a new Channel and the maximum is exceed it will throw an ChannelException on the register(Channel) and register(ChannelPromise) method. Use 0 to use no limit
        threadFactory - the ThreadFactory used to create new Thread instances that handle the registered Channels
        args - arguments which will passed to each newChild(Object...) call.
      • ThreadPerChannelEventLoopGroup

        protected ThreadPerChannelEventLoopGroup​(int maxChannels,
                                                 java.util.concurrent.Executor executor,
                                                 java.lang.Object... args)
        Deprecated.
        Parameters:
        maxChannels - the maximum number of channels to handle with this instance. Once you try to register a new Channel and the maximum is exceed it will throw an ChannelException on the register(Channel) and register(ChannelPromise) method. Use 0 to use no limit
        executor - the Executor used to create new Thread instances that handle the registered Channels
        args - arguments which will passed to each newChild(Object...) call.