Class TransportCheck

java.lang.Object
org.apache.drill.exec.rpc.TransportCheck

public class TransportCheck extends Object
TransportCheck decides whether or not to use the native EPOLL mechanism for communication.
  • Field Details

    • SUPPORTS_EPOLL

      public static final boolean SUPPORTS_EPOLL
  • Constructor Details

    • TransportCheck

      public TransportCheck()
  • Method Details

    • getServerSocketChannel

      public static Class<? extends io.netty.channel.socket.ServerSocketChannel> getServerSocketChannel()
    • getClientSocketChannel

      public static Class<? extends io.netty.channel.socket.SocketChannel> getClientSocketChannel()
    • createEventLoopGroup

      public static io.netty.channel.EventLoopGroup createEventLoopGroup(int nThreads, String prefix)