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 Summary
Constructors
-
Method Summary
void
Checkout object from pool.
-
Constructor Details
-
AbstractObjectPool
public AbstractObjectPool()
-
Method Details
-
create
protected abstract T create()
-
checkOut
Checkout object from pool.
-
checkIn
public void checkIn(T instance)
-