Class EpollEventLoop

    • Method Detail

      • newTaskQueue

        protected java.util.Queue<java.lang.Runnable> newTaskQueue​(int maxPendingTasks)
        Deprecated.
        Description copied from class: SingleThreadEventExecutor
        Create a new Queue which will holds the tasks to execute. This default implementation will return a LinkedBlockingQueue but if your sub-class of SingleThreadEventExecutor will not do any blocking calls on the this Queue it may make sense to @Override this and return some more performant implementation that does not support blocking operations at all.
        Overrides:
        newTaskQueue in class SingleThreadEventExecutor
      • registeredChannelsIterator

        public java.util.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.