Class EventLoopUtil


  • public final class EventLoopUtil
    extends java.lang.Object
    Utility class to initialize Netty event loops.
    • Method Detail

      • getClientEventLoopGroup

        public static io.netty.channel.EventLoopGroup getClientEventLoopGroup​(ClientConfiguration conf,
                                                                              java.util.concurrent.ThreadFactory threadFactory)
      • getServerEventLoopGroup

        public static io.netty.channel.EventLoopGroup getServerEventLoopGroup​(ServerConfiguration conf,
                                                                              java.util.concurrent.ThreadFactory threadFactory)
      • getServerAcceptorGroup

        public static io.netty.channel.EventLoopGroup getServerAcceptorGroup​(ServerConfiguration conf,
                                                                             java.util.concurrent.ThreadFactory threadFactory)