org.apache.commons.pool.impl
Class GenericObjectPoolFactory
java.lang.Object
|
+--org.apache.commons.pool.impl.GenericObjectPoolFactory
- All Implemented Interfaces:
- ObjectPoolFactory
- public class GenericObjectPoolFactory
- extends Object
- implements ObjectPoolFactory
A factory for creating GenericObjectPool
instances.
- Version:
- $Revision: 1.7 $ $Date: 2004/02/28 12:16:21 $
- See Also:
GenericObjectPool
,
ObjectPoolFactory
Constructor Summary |
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
GenericObjectPool.Config config)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
|
GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_maxIdle
protected int _maxIdle
_minIdle
protected int _minIdle
_maxActive
protected int _maxActive
_maxWait
protected long _maxWait
_whenExhaustedAction
protected byte _whenExhaustedAction
_testOnBorrow
protected boolean _testOnBorrow
_testOnReturn
protected boolean _testOnReturn
_testWhileIdle
protected boolean _testWhileIdle
_timeBetweenEvictionRunsMillis
protected long _timeBetweenEvictionRunsMillis
_numTestsPerEvictionRun
protected int _numTestsPerEvictionRun
_minEvictableIdleTimeMillis
protected long _minEvictableIdleTimeMillis
_factory
protected org.apache.commons.pool.PoolableObjectFactory _factory
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
GenericObjectPool.Config config)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
GenericObjectPoolFactory
public GenericObjectPoolFactory(org.apache.commons.pool.PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
createPool
public org.apache.commons.pool.ObjectPool createPool()
- Description copied from interface:
ObjectPoolFactory
- Create and return a new
ObjectPool
.
- Specified by:
createPool
in interface ObjectPoolFactory
- Returns:
- a new
ObjectPool
Copyright © 2001-2004 The Apache Software Foundation. All Rights Reserved.