Class NettyObjectFactory


  • public class NettyObjectFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> getServerSocketChannelFactory()  
      static io.netty.channel.EventLoopGroup newEventLoopGroup​(int threads, java.lang.String poolName)  
      static void setUsingEpoll​(boolean value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NettyObjectFactory

        public NettyObjectFactory()
    • Method Detail

      • setUsingEpoll

        public static void setUsingEpoll​(boolean value)
      • newEventLoopGroup

        public static io.netty.channel.EventLoopGroup newEventLoopGroup​(int threads,
                                                                        java.lang.String poolName)
      • getServerSocketChannelFactory

        public static io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> getServerSocketChannelFactory()