Class MultithreadEventExecutorGroup

    • Constructor Detail

      • MultithreadEventExecutorGroup

        protected MultithreadEventExecutorGroup​(int nThreads,
                                                java.util.concurrent.ThreadFactory threadFactory,
                                                java.lang.Object... args)
        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.
        args - arguments which will passed to each newChild(Executor, Object...) call
      • MultithreadEventExecutorGroup

        protected MultithreadEventExecutorGroup​(int nThreads,
                                                java.util.concurrent.Executor executor,
                                                java.lang.Object... args)
        Create a new instance.
        Parameters:
        nThreads - the number of threads that will be used by this instance.
        executor - the Executor to use, or null if the default should be used.
        args - arguments which will passed to each newChild(Executor, Object...) call
      • MultithreadEventExecutorGroup

        protected MultithreadEventExecutorGroup​(int nThreads,
                                                java.util.concurrent.Executor executor,
                                                EventExecutorChooserFactory chooserFactory,
                                                java.lang.Object... args)
        Create a new instance.
        Parameters:
        nThreads - the number of threads that will be used by this instance.
        executor - the Executor to use, or null if the default should be used.
        chooserFactory - the EventExecutorChooserFactory to use.
        args - arguments which will passed to each newChild(Executor, Object...) call