Class NioEventLoop

    • Method Detail

      • getIoRatio

        public int getIoRatio()
        Deprecated.
        Always return 0.
      • setIoRatio

        @Deprecated
        public void setIoRatio​(int ioRatio)
        Deprecated.
        This method is a no-op.
      • rebuildSelector

        public void rebuildSelector()
        Deprecated.
        Replaces the current Selector of this event loop with newly created Selectors to work around the infamous epoll 100% CPU bug.
      • registeredChannelsIterator

        public Iterator<Channel> registeredChannelsIterator()
        Deprecated.
        Overrides:
        registeredChannelsIterator in class SingleThreadEventLoop
        Returns:
        read-only iterator of active Channels registered with this EventLoop. The returned value is not guaranteed to be exact accurate and should be viewed as a best effort. This method is expected to be called from within event loop.