org.openjena.atlas.lib
Class PoolFiniteBlocking<T>

java.lang.Object
  extended by org.openjena.atlas.lib.PoolFiniteBlocking<T>
All Implemented Interfaces:
Pool<T>

public class PoolFiniteBlocking<T>
extends java.lang.Object
implements Pool<T>


Method Summary
 T get()
          Get an item from the pool - return null if the pool is empty
 boolean isEmpty()
           
 void put(T item)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public T get()
Description copied from interface: Pool
Get an item from the pool - return null if the pool is empty

Specified by:
get in interface Pool<T>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Pool<T>

put

public void put(T item)
Specified by:
put in interface Pool<T>


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.