Class StrongRefPool<T>

  • All Implemented Interfaces:
    Pool<T>

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

      • StrongRefPool

        public StrongRefPool​(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.