Class SelectorUtil


  • final class SelectorUtil
    extends java.lang.Object
    • Field Detail

      • DEFAULT_IO_THREADS

        static final int DEFAULT_IO_THREADS
      • SELECT_TIMEOUT

        static final long SELECT_TIMEOUT
      • SELECT_TIMEOUT_NANOS

        static final long SELECT_TIMEOUT_NANOS
      • EPOLL_BUG_WORKAROUND

        static final boolean EPOLL_BUG_WORKAROUND
    • Constructor Detail

      • SelectorUtil

        private SelectorUtil()
    • Method Detail

      • open

        static java.nio.channels.Selector open()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • select

        static int select​(java.nio.channels.Selector selector)
                   throws java.io.IOException
        Throws:
        java.io.IOException