public class ConcurrentQueueFactory
extends java.lang.Object
ConcurrentQueue
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.Modifier and Type | Class and Description |
---|---|
static class |
ConcurrentQueueFactory.GenericQueue<E> |
Constructor and Description |
---|
ConcurrentQueueFactory() |
Modifier and Type | Method and Description |
---|---|
static <E> ConcurrentQueue<E> |
newQueue(ConcurrentQueueSpec qs) |
public static <E> ConcurrentQueue<E> newQueue(ConcurrentQueueSpec qs)