Class ObjectConcurrentPool<T>


  • public abstract class ObjectConcurrentPool<T>
    extends java.lang.Object
    • Constructor Detail

      • ObjectConcurrentPool

        public ObjectConcurrentPool​(int size,
                                    int capacity)
    • Method Detail

      • borrow

        public T borrow()
      • release

        public void release​(T object)
      • trim

        public void trim()
      • newItem

        protected abstract T newItem()