Package org.apache.camel.component.seda
Interface BlockingQueueFactory<E>
-
- Type Parameters:
E
- Element type, usuallyExchange
- All Known Implementing Classes:
ArrayBlockingQueueFactory
,LinkedBlockingQueueFactory
,PriorityBlockingQueueFactory
public interface BlockingQueueFactory<E>
Factory ofBlockingQueue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockingQueue<E>
create()
Create a newBlockingQueue
with default capacityBlockingQueue<E>
create(int capacity)
Create a newBlockingQueue
with given capacity
-
-
-
Method Detail
-
create
BlockingQueue<E> create()
Create a newBlockingQueue
with default capacity- Returns:
- New
BlockingQueue
-
create
BlockingQueue<E> create(int capacity)
Create a newBlockingQueue
with given capacity- Returns:
- New
BlockingQueue
-
-