Interface EventLoopTaskQueueFactory


  • @Deprecated
    public interface EventLoopTaskQueueFactory
    Deprecated.
    Not used anymore by new IoEventLoopGroup and IoEventLoop implementations
    Factory used to create Queue instances that will be used to store tasks for an EventLoop. Generally speaking the returned Queue MUST be thread-safe and depending on the EventLoop implementation must be of type BlockingQueue.
    • Method Detail

      • newTaskQueue

        java.util.Queue<java.lang.Runnable> newTaskQueue​(int maxCapacity)
        Deprecated.
        Returns a new Queue to use.
        Parameters:
        maxCapacity - the maximum amount of elements that can be stored in the Queue at a given point in time.
        Returns:
        the new queue.