public class GenericObjectPoolFactory extends java.lang.Object implements ObjectPoolFactory
GenericObjectPool
instances.GenericObjectPool
,
ObjectPoolFactory
Constructor and Description |
---|
GenericObjectPoolFactory(PoolableObjectFactory factory) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
GenericObjectPool.Config config) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle) |
GenericObjectPoolFactory(PoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
int minIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle,
long softMinEvictableIdleTimeMillis) |
Modifier and Type | Method and Description |
---|---|
ObjectPool |
createPool()
Create and return a new
ObjectPool . |
public GenericObjectPoolFactory(PoolableObjectFactory factory)
public GenericObjectPoolFactory(PoolableObjectFactory factory, GenericObjectPool.Config config)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, boolean testOnBorrow, boolean testOnReturn)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
public GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle, long softMinEvictableIdleTimeMillis)
public ObjectPool createPool()
ObjectPoolFactory
ObjectPool
.createPool
in interface ObjectPoolFactory
ObjectPool
Copyright © 2001-2003 Apache Software Foundation. Documenation generated October 9 2014.