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 implementation 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, 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
static KeyedPoolableObjectFactory PoolUtils.adapt(PoolableObjectFactory factory)
          Adapt a PoolableObjectFactory instance to work where a KeyedPoolableObjectFactory is needed.
 void ObjectPool.setFactory(PoolableObjectFactory factory)
          Sets the factory this pool uses to create new instances (optional operation).
 void BaseObjectPool.setFactory(PoolableObjectFactory factory)
          Not supported in this base implementation.
static PoolableObjectFactory PoolUtils.synchronizedPoolableFactory(PoolableObjectFactory factory)
          Returns a synchronized (thread-safe) PoolableObjectFactory backed by the specified PoolableObjectFactory.
 

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

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

Methods in org.apache.commons.pool.impl with parameters of type PoolableObjectFactory
 void StackObjectPool.setFactory(PoolableObjectFactory factory)
          Sets the factory this pool uses to create new instances.
 void SoftReferenceObjectPool.setFactory(PoolableObjectFactory factory)
          Sets the factory this pool uses to create new instances.
 void GenericObjectPool.setFactory(PoolableObjectFactory factory)
          Sets the factory this pool uses to create new instances.
 

Constructors in org.apache.commons.pool.impl with parameters of type PoolableObjectFactory
GenericObjectPool(PoolableObjectFactory factory)
          Create a new GenericObjectPool using the specified factory.
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.
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, boolean lifo)
          Create a new GenericObjectPool using the specified values.
GenericObjectPoolFactory(PoolableObjectFactory factory)
          Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory factory, GenericObjectPool.Config config)
          Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive)
          Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait)
          Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, boolean testOnBorrow, boolean testOnReturn)
          Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle)
          Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn)
          Create a new GenericObjectPoolFactory.
GenericObjectPoolFactory(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 GenericObjectPoolFactory.
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)
          Create a new GenericObjectPoolFactory.
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)
          Create a new GenericObjectPoolFactory.
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, boolean lifo)
          Create a new GenericObjectPoolFactory.
SoftReferenceObjectPool(PoolableObjectFactory factory)
          Create a SoftReferenceObjectPool with the specified factory.
SoftReferenceObjectPool(PoolableObjectFactory factory, int initSize)
          Deprecated. because this is a SoftReference pool, prefilled idle obejects may be garbage collected before they are used. To be removed in Pool 3.0.
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.
StackObjectPoolFactory(PoolableObjectFactory factory)
          Create a new StackObjectPoolFactory.
StackObjectPoolFactory(PoolableObjectFactory factory, int maxIdle)
          Create a new StackObjectPoolFactory.
StackObjectPoolFactory(PoolableObjectFactory factory, int maxIdle, int initIdleCapacity)
          Create a new StackObjectPoolFactory.
 



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