public interface EventLoopTaskQueueFactory
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
.Modifier and Type | Method and Description |
---|---|
Queue<Runnable> |
newTaskQueue(int maxCapacity)
Returns a new
Queue to use. |
Copyright © 2008–2024 The Netty Project. All rights reserved.