org.apache.commons.pool.impl
Class GenericKeyedObjectPoolFactory
java.lang.Object
|
+--org.apache.commons.pool.impl.GenericKeyedObjectPoolFactory
- All Implemented Interfaces:
- KeyedObjectPoolFactory
- public class GenericKeyedObjectPoolFactory
- extends Object
- implements KeyedObjectPoolFactory
A factory for creating GenericKeyedObjectPool
instances.
- Version:
- $Id: GenericKeyedObjectPoolFactory.java,v 1.1.1.1 2001/04/14 16:41:24 rwaldhoff Exp $
- Author:
- Rodney Waldhoff
- See Also:
GenericKeyedObjectPool
,
KeyedObjectPoolFactory
Constructor Summary |
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory)
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
GenericKeyedObjectPool.Config config)
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive)
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
|
GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
|
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory)
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
GenericKeyedObjectPool.Config config)
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive)
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait)
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
boolean testOnBorrow,
boolean testOnReturn)
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle)
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn)
GenericKeyedObjectPoolFactory
public GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory factory,
int maxActive,
byte whenExhaustedAction,
long maxWait,
int maxIdle,
boolean testOnBorrow,
boolean testOnReturn,
long timeBetweenEvictionRunsMillis,
int numTestsPerEvictionRun,
long minEvictableIdleTimeMillis,
boolean testWhileIdle)
createPool
public KeyedObjectPool createPool()
- Description copied from interface:
KeyedObjectPoolFactory
- Create a new
KeyedObjectPool
.
- Specified by:
createPool
in interface KeyedObjectPoolFactory
- Returns:
- a new
KeyedObjectPool
Copyright © 2001-2002 Apache Software Foundation. Documenation generated February 22 2003.