public class ApachePoolConfig<T> extends PoolConfig<T,Exception>
Abstract base class for instantiating a pool backed by Apache Pool. Be careful that the PoolableObjectFactory passed into the config creates objects of the correct type or you will end up with runtime cast exceptions.
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.pool.PoolableObjectFactory<T> |
mFactory |
mConfig, mMinPool| Constructor and Description |
|---|
ApachePoolConfig(org.apache.commons.pool.PoolableObjectFactory<T> theFactory) |
| Modifier and Type | Method and Description |
|---|---|
Pool<T,Exception> |
create()
Create the Pool
|
blockAtCapacity, expiration, failAtCapacity, growAtCapacity, maxIdle, maxPool, minPool, noExpirationCopyright © 2010-2016 Stardog Union. All Rights Reserved.