org.apache.commons.pipeline.util
Class BlockingQueueFactory.SynchronousQueueFactory<T>

java.lang.Object
  extended by org.apache.commons.pipeline.util.BlockingQueueFactory.SynchronousQueueFactory<T>
All Implemented Interfaces:
BlockingQueueFactory<T>, QueueFactory<T>
Enclosing interface:
BlockingQueueFactory<T>

public static class BlockingQueueFactory.SynchronousQueueFactory<T>
extends Object
implements BlockingQueueFactory<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.commons.pipeline.util.BlockingQueueFactory
BlockingQueueFactory.ArrayBlockingQueueFactory<T>, BlockingQueueFactory.DelayQueueFactoryL<T extends Delayed>, BlockingQueueFactory.LinkedBlockingQueueFactory<T>, BlockingQueueFactory.PriorityBlockingQueueFactory<T>, BlockingQueueFactory.SynchronousQueueFactory<T>
 
Nested classes/interfaces inherited from interface org.apache.commons.pipeline.util.QueueFactory
QueueFactory.AbstractQueueFactory<T>, QueueFactory.ConcurrentLinkedQueueFactory<T>, QueueFactory.LinkedListFactory<T>, QueueFactory.PriorityQueueFactory<T>
 
Constructor Summary
BlockingQueueFactory.SynchronousQueueFactory()
           
 
Method Summary
 SynchronousQueue<T> createQueue()
          Create a new queue.
 boolean isFair()
          Getter for property fair.
 void setFair(boolean fair)
          Setter for property fair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockingQueueFactory.SynchronousQueueFactory

public BlockingQueueFactory.SynchronousQueueFactory()
Method Detail

createQueue

public SynchronousQueue<T> createQueue()
Description copied from interface: QueueFactory
Create a new queue.

Specified by:
createQueue in interface BlockingQueueFactory<T>
Specified by:
createQueue in interface QueueFactory<T>

isFair

public boolean isFair()
Getter for property fair.

Returns:
Value of property fair.

setFair

public void setFair(boolean fair)
Setter for property fair.

Parameters:
fair - New value of property fair.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.