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()
BlockingQueueFactoryBlockingQueue with default capacitycreate in interface BlockingQueueFactory<E>BlockingQueuepublic LinkedBlockingQueue<E> create(int capacity)
BlockingQueueFactoryBlockingQueue with given capacitycreate in interface BlockingQueueFactory<E>BlockingQueueApache Camel