public interface BlockingQueueFactory<E>
BlockingQueue
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_TYPE
The
element type to use for plugins
implementing this interface. |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.BlockingQueue<E> |
create(int capacity)
Creates a new BlockingQueue with the specified maximum capacity.
|
static final java.lang.String ELEMENT_TYPE
element type
to use for plugins
implementing this interface.java.util.concurrent.BlockingQueue<E> create(int capacity)
capacity
- maximum size of the queue if supported