Class DefaultEventExecutorGroup

    • Constructor Detail

      • DefaultEventExecutorGroup

        public DefaultEventExecutorGroup​(int nThreads,
                                         ThreadFactory threadFactory)
        Create a new instance.
        Parameters:
        nThreads - the number of threads that will be used by this instance.
        threadFactory - the ThreadFactory to use, or null if the default should be used.
      • DefaultEventExecutorGroup

        public DefaultEventExecutorGroup​(int nThreads,
                                         ThreadFactory threadFactory,
                                         int maxPendingTasks,
                                         RejectedExecutionHandler rejectedHandler)
        Create a new instance.
        Parameters:
        nThreads - the number of threads that will be used by this instance.
        threadFactory - the ThreadFactory to use, or null if the default should be used.
        maxPendingTasks - the maximum number of pending tasks before new tasks will be rejected.
        rejectedHandler - the RejectedExecutionHandler to use.