Class ScalablePool<T>


  • public class ScalablePool<T>
    extends Object
    • Constructor Detail

      • ScalablePool

        public ScalablePool​(int initialSize,
                            Supplier<? extends T> supplier,
                            Consumer<? super T> resetter,
                            Consumer<? super T> disposer)
    • Method Detail

      • get

        public T get()
      • release

        public void release​(T t)
      • shutdown

        public void shutdown()