Class EpollEventLoop

All Implemented Interfaces:
EventLoop, EventLoopGroup, IoEventLoop, IoEventLoopGroup, EventExecutor, EventExecutorGroup, OrderedEventExecutor, ThreadAwareExecutor, Iterable<EventExecutor>, Executor, ExecutorService, ScheduledExecutorService

@Deprecated public class EpollEventLoop extends SingleThreadIoEventLoop
  • Method Details

    • registeredChannels

      public int registeredChannels()
      Deprecated.
      Description copied from class: SingleThreadEventLoop
      Returns the number of Channels registered with this EventLoop or -1 if operation is not supported. The returned value is not guaranteed to be exact accurate and should be viewed as a best effort.
      Overrides:
      registeredChannels in class SingleThreadEventLoop
    • 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.
    • getIoRatio

      public int getIoRatio()
      Deprecated.
      Returns 0.
    • setIoRatio

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