public class BasicPool<T> extends java.lang.Object implements Pool<T>
Constructor and Description |
---|
BasicPool() |
Modifier and Type | Method and Description |
---|---|
T |
acquire()
Acquires an instance from the pool.
|
void |
release(T instance)
Releases an instance to the pool.
|