Uses of Interface
org.apache.commons.pool.PoolableObjectFactory

Packages that use PoolableObjectFactory
org.apache.commons.pool Object pooling API. 
org.apache.commons.pool.impl Object pooling API implementations. 
 

Uses of PoolableObjectFactory in org.apache.commons.pool
 

Classes in org.apache.commons.pool that implement PoolableObjectFactory
 class BasePoolableObjectFactory
          A base implemenation of PoolableObjectFactory.
 

Methods in org.apache.commons.pool that return PoolableObjectFactory
static PoolableObjectFactory PoolUtils.adapt(KeyedPoolableObjectFactory keyedFactory)
          Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is needed.
static PoolableObjectFactory PoolUtils.adapt(KeyedPoolableObjectFactory keyedFactory, java.lang.Object key)
          Adapt a KeyedPoolableObjectFactory instance to work where a PoolableObjectFactory is needed using the specified key when delegating.
static PoolableObjectFactory PoolUtils.synchronizedPoolableFactory(PoolableObjectFactory factory)
          Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.
 

Methods in org.apache.commons.pool with parameters of type PoolableObjectFactory
 void ObjectPool.setFactory(PoolableObjectFactory factory)
          Sets the factory I use to create new instances (optional operation).
static KeyedPoolableObjectFactory PoolUtils.adapt(PoolableObjectFactory factory)
          Adapt a PoolableObjectFactory instance to work where a KeyedPoolableObjectFactory is needed.
static PoolableObjectFactory PoolUtils.synchronizedPoolableFactory(PoolableObjectFactory factory)
          Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.
 void BaseObjectPool.setFactory(PoolableObjectFactory factory)
          Not supported in this base implementation.
 

Uses of PoolableObjectFactory in org.apache.commons.pool.impl
 

Fields in org.apache.commons.pool.impl declared as PoolableObjectFactory
protected  PoolableObjectFactory GenericObjectPoolFactory._factory
           
protected  PoolableObjectFactory StackObjectPool._factory
          My PoolableObjectFactory.
protected  PoolableObjectFactory StackObjectPoolFactory._factory
           
 

Methods in org.apache.commons.pool.impl with parameters of type PoolableObjectFactory
 void StackObjectPool.setFactory(PoolableObjectFactory factory)
           
 void GenericObjectPool.setFactory(PoolableObjectFactory factory)
           
 void SoftReferenceObjectPool.setFactory(PoolableObjectFactory factory)
           
 

Constructors in org.apache.commons.pool.impl with parameters of type PoolableObjectFactory
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)
           
StackObjectPool(PoolableObjectFactory factory)
          Create a new StackObjectPool using the specified factory to create new instances.
StackObjectPool(PoolableObjectFactory factory, int maxIdle)
          Create a new SimpleObjectPool using the specified factory to create new instances, capping the number of "sleeping" instances to max.
StackObjectPool(PoolableObjectFactory factory, int maxIdle, int initIdleCapacity)
          Create a new SimpleObjectPool using the specified factory to create new instances, capping the number of "sleeping" instances to max, and initially allocating a container capable of containing at least init instances.
GenericObjectPool(PoolableObjectFactory factory)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, GenericObjectPool.Config config)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, int maxActive)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, boolean testOnBorrow, boolean testOnReturn)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
          Create a new GenericObjectPool using the specified values.
GenericObjectPool(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)
          Create a new GenericObjectPool using the specified values.
SoftReferenceObjectPool(PoolableObjectFactory factory)
           
SoftReferenceObjectPool(PoolableObjectFactory factory, int initSize)
           
StackObjectPoolFactory(PoolableObjectFactory factory)
           
StackObjectPoolFactory(PoolableObjectFactory factory, int max)
           
StackObjectPoolFactory(PoolableObjectFactory factory, int max, int init)
           
 



Copyright © 2001-2007 The Apache Software Foundation. All Rights Reserved.