Class AbstractObjectPool<T>

java.lang.Object
com.github._1c_syntax.bsl.languageserver.utils.AbstractObjectPool<T>
Type Parameters:
T - Type T of Object in the Pool
Direct Known Subclasses:
JLanguageToolPool

public abstract class AbstractObjectPool<T> extends Object
Generic object pool.
  • Constructor Details

    • AbstractObjectPool

      public AbstractObjectPool()
  • Method Details

    • create

      protected abstract T create()
    • checkOut

      public T checkOut()
      Checkout object from pool.
    • checkIn

      public void checkIn(T instance)
    • toString

      public String toString()
      Overrides:
      toString in class Object