public interface BlockingQueueFactory<E>
BlockingQueue
.Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_TYPE
The
element type to use for plugins
implementing this interface. |
Modifier and Type | Method and Description |
---|---|
BlockingQueue<E> |
create(int capacity)
Creates a new BlockingQueue with the specified maximum capacity.
|
static final String ELEMENT_TYPE
element type
to use for plugins
implementing this interface.BlockingQueue<E> create(int capacity)
capacity
- maximum size of the queue if supportedCopyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.