Class PoolManager<T>

  • All Implemented Interfaces:
    ItemManager<T>
    Direct Known Subclasses:
    AbstractItemManager

    @Deprecated
    public abstract class PoolManager<T>
    extends Object
    implements ItemManager<T>
    Deprecated.
    Legacy AEM 6.x API.
    Implements a simple pool manager. By default, an upper limit to the pool is set at 25 entries. New items can always be created, but if more than 25 entries are released back to the pool, the extras are discarded. Items added to the stack should never maintain any kind of state as it is entirely possible that different threads will be grabbing items from the pool
    • Method Detail

      • release

        public void release​(T t)
        Deprecated.
        Description copied from interface: ItemManager
        Release an item
        Specified by:
        release in interface ItemManager<T>