| Constructor and Description |
|---|
ApachePoolImpl(org.apache.commons.pool.PoolableObjectFactory<T> theFactory,
int theMin,
org.apache.commons.pool.impl.GenericObjectPool.Config theConfig)
Create a new ApachePoolImpl
|
| Modifier and Type | Method and Description |
|---|---|
T |
obtain()
Get an object from the pool
|
void |
release(T theObj)
Return the object to the pool
|
void |
shutdown()
Shutdown the pool
|
public ApachePoolImpl(org.apache.commons.pool.PoolableObjectFactory<T> theFactory, int theMin, org.apache.commons.pool.impl.GenericObjectPool.Config theConfig)
theFactory - the object factorytheMin - the min # of objects in the pooltheConfig - the configuration of the poolCopyright © 2010-2016 Stardog Union. All Rights Reserved.