Class EventLoopGroupUtil

java.lang.Object
org.drasyl.util.EventLoopGroupUtil

public final class EventLoopGroupUtil extends Object
Utility class for operations on EventLoopGroups.
  • Method Details

    • getBestEventLoopGroup

      public static io.netty.channel.EventLoopGroup getBestEventLoopGroup(int nThreads, ThreadFactory threadFactory)
    • getBestEventLoopGroup

      public static io.netty.channel.EventLoopGroup getBestEventLoopGroup(int nThreads)
    • getBestDatagramChannel

      public static Class<? extends io.netty.channel.socket.DatagramChannel> getBestDatagramChannel()
    • getBestDatagramChannel

      public static io.netty.channel.socket.DatagramChannel getBestDatagramChannel(io.netty.channel.socket.InternetProtocolFamily family)