org.apache.camel.component.seda
Class LinkedBlockingQueueFactory<E>

java.lang.Object
  extended by org.apache.camel.component.seda.LinkedBlockingQueueFactory<E>
All Implemented Interfaces:
BlockingQueueFactory<E>

public class LinkedBlockingQueueFactory<E>
extends Object
implements BlockingQueueFactory<E>

Implementation of BlockingQueueFactory producing LinkedBlockingQueue


Constructor Summary
LinkedBlockingQueueFactory()
           
 
Method Summary
 LinkedBlockingQueue<E> create()
          Create a new BlockingQueue with default capacity
 LinkedBlockingQueue<E> create(int capacity)
          Create a new BlockingQueue with given capacity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedBlockingQueueFactory

public LinkedBlockingQueueFactory()
Method Detail

create

public LinkedBlockingQueue<E> create()
Description copied from interface: BlockingQueueFactory
Create a new BlockingQueue with default capacity

Specified by:
create in interface BlockingQueueFactory<E>
Returns:
New BlockingQueue

create

public LinkedBlockingQueue<E> create(int capacity)
Description copied from interface: BlockingQueueFactory
Create a new BlockingQueue with given capacity

Specified by:
create in interface BlockingQueueFactory<E>
Returns:
New BlockingQueue


Apache Camel