public class QueueFactory
extends java.lang.Object
Queue
instances based on a best fit to the ConcurrentQueueSpec
.
This allows minimal dependencies between user code and the queue implementations and gives users a way to express
their requirements on a higher level.Constructor and Description |
---|
QueueFactory() |
Modifier and Type | Method and Description |
---|---|
static <E> java.util.Queue<E> |
newQueue(ConcurrentQueueSpec qs) |
public static <E> java.util.Queue<E> newQueue(ConcurrentQueueSpec qs)