Package io.reactivex.netty.channel

Examples of io.reactivex.netty.channel.RxDefaultThreadFactory


     * @param threadCount Number of threads to use for request processing.
     *
     * @return This builder.
     */
    public HttpServerBuilder<I, O> withRequestProcessingThreads(int threadCount) {
        return super.withEventExecutorGroup(new DefaultEventExecutorGroup(threadCount, new RxDefaultThreadFactory("rx-request-processor")));
    }
View Full Code Here


                                                                     }
                                                                 });
                                            }
                                        })
                       .pipelineConfigurator(PipelineConfigurators.textOnlyConfigurator())
                       .withEventExecutorGroup(new DefaultEventExecutorGroup(50, new RxDefaultThreadFactory(
                               "rx-connection-processor"))) /*Uses 50 threads to process connections.*/
                       .build();
        return server;
    }
View Full Code Here

TOP

Related Classes of io.reactivex.netty.channel.RxDefaultThreadFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.