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 newBlockingQueuewith default capacityBlockingQueue<E>create(int capacity)Create a newBlockingQueuewith given capacity
-
-
-
Method Detail
-
create
BlockingQueue<E> create()
Create a newBlockingQueuewith default capacity- Returns:
- New
BlockingQueue
-
create
BlockingQueue<E> create(int capacity)
Create a newBlockingQueuewith given capacity- Returns:
- New
BlockingQueue
-
-