Class SoftRefPool<T>

  • All Implemented Interfaces:
    Pool<T>

    public final class SoftRefPool<T>
    extends PoolBase<T>
    • Constructor Detail

      • SoftRefPool

        public SoftRefPool​(ObjectManager<T> manager,
                           int maxEntries)
    • Method Detail

      • offer

        protected boolean offer​(T value)
        Specified by:
        offer in class PoolBase<T>
      • getNumPooled

        public int getNumPooled()
        Returns:
        The number of currently pooled objects.