|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.utils.ConcurrentQueuePool<E>
public abstract class ConcurrentQueuePool<E extends PoolableObject>
ObjectPool implementation based on LinkedTransferQueue
| Constructor Summary | |
|---|---|
ConcurrentQueuePool()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
abstract E |
newInstance()
|
void |
offer(E object)
|
E |
poll()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConcurrentQueuePool()
| Method Detail |
|---|
public abstract E newInstance()
public E poll()
poll in interface ObjectPool<E extends PoolableObject>public void offer(E object)
offer in interface ObjectPool<E extends PoolableObject>public void clear()
clear in interface ObjectPool<E extends PoolableObject>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||