Example usage for Java org.apache.commons.pool2.impl SoftReferenceObjectPool fields, constructors, methods, implement or subclass
The text is from its open source code.
SoftReferenceObjectPool(PooledObjectFactory Create a SoftReferenceObjectPool with the specified factory. |
T | borrowObject() Borrow an object from the pool. |
void | close() Close this pool, and free any resources associated with it. |
void | returnObject(T obj) Returns an instance to the pool after successful validation and passivation. |