Class QueuedPool<P>

java.lang.Object
org.eclipse.jetty.io.internal.QueuedPool<P>
Type Parameters:
P - the type of the pooled objects
All Implemented Interfaces:
Pool<P>

public class QueuedPool<P> extends Object implements Pool<P>

A Queue based implementation of Pool.

Entries are taken out of the pool when they are acquired and they are added back when they are released which means acquired and reserved entries do not account for the maxSize calculation. This also means QueuedPool is resistant to "release leaks".

This implementation does not support multiplexing.