public class LinkedBlockingQueueFactory<E> extends Object implements BlockingQueueFactory<E>
BlockingQueueFactory
producing LinkedBlockingQueue
Constructor and Description |
---|
LinkedBlockingQueueFactory() |
Modifier and Type | Method and Description |
---|---|
LinkedBlockingQueue<E> |
create()
Create a new
BlockingQueue with default capacity |
LinkedBlockingQueue<E> |
create(int capacity)
Create a new
BlockingQueue with given capacity |
public LinkedBlockingQueueFactory()
public LinkedBlockingQueue<E> create()
BlockingQueueFactory
BlockingQueue
with default capacitycreate
in interface BlockingQueueFactory<E>
BlockingQueue
public LinkedBlockingQueue<E> create(int capacity)
BlockingQueueFactory
BlockingQueue
with given capacitycreate
in interface BlockingQueueFactory<E>
BlockingQueue
Apache Camel