Class Pool<T>

java.lang.Object
org.eclipse.jetty.util.Pool<T>
Type Parameters:
T - the type of the pooled objects
All Implemented Interfaces:
AutoCloseable, Dumpable

@ManagedObject public class Pool<T> extends Object implements AutoCloseable, Dumpable

A pool of objects, with optional support for multiplexing, max usage count and several optimized strategies plus an optional ThreadLocal cache of the last release entry.

When the method close() is called, all Closeables object pooled by the pool are also closed.