org.glassfish.grizzly.util
Class ConcurrentQueuePool<E extends PoolableObject>
java.lang.Object
org.glassfish.grizzly.util.ConcurrentQueuePool<E>
- All Implemented Interfaces:
- ObjectPool<E>
public abstract class ConcurrentQueuePool<E extends PoolableObject>
- extends Object
- implements ObjectPool<E>
ObjectPool implementation based on LinkedTransferQueue
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentQueuePool
public ConcurrentQueuePool()
newInstance
public abstract E newInstance()
poll
public E poll()
- Specified by:
poll in interface ObjectPool<E extends PoolableObject>
offer
public void offer(E object)
- Specified by:
offer in interface ObjectPool<E extends PoolableObject>
clear
public void clear()
- Specified by:
clear in interface ObjectPool<E extends PoolableObject>
Copyright © 2009 SUN Microsystems. All Rights Reserved.