Class ProxiedObjectPool<T>

  • Type Parameters:
    T - type of the pooled object
    All Implemented Interfaces:
    Closeable, AutoCloseable, ObjectPool<T>

    public class ProxiedObjectPool<T>
    extends Object
    implements ObjectPool<T>
    Create a new object pool where the pooled objects are wrapped in proxies allowing better control of pooled objects and in particular the prevention of the continued use of an object by a client after that client returns the object to the pool.
    Since:
    2.0