Package org.apache.camel.component.seda
Class LinkedBlockingQueueFactory<E>
- java.lang.Object
-
- org.apache.camel.component.seda.LinkedBlockingQueueFactory<E>
-
- All Implemented Interfaces:
BlockingQueueFactory<E>
public class LinkedBlockingQueueFactory<E> extends Object implements BlockingQueueFactory<E>
Implementation ofBlockingQueueFactoryproducingLinkedBlockingQueue
-
-
Constructor Summary
Constructors Constructor Description LinkedBlockingQueueFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedBlockingQueue<E>create()Create a newBlockingQueuewith default capacityLinkedBlockingQueue<E>create(int capacity)Create a newBlockingQueuewith given capacity
-
-
-
Method Detail
-
create
public LinkedBlockingQueue<E> create()
Description copied from interface:BlockingQueueFactoryCreate a newBlockingQueuewith default capacity- Specified by:
createin interfaceBlockingQueueFactory<E>- Returns:
- New
BlockingQueue
-
create
public LinkedBlockingQueue<E> create(int capacity)
Description copied from interface:BlockingQueueFactoryCreate a newBlockingQueuewith given capacity- Specified by:
createin interfaceBlockingQueueFactory<E>- Returns:
- New
BlockingQueue
-
-