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<T>
          A base implementation of PoolableObjectFactory.
 

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

Methods in org.apache.commons.pool with parameters of type PoolableObjectFactory
static
<K,V> KeyedPoolableObjectFactory<K,V>
PoolUtils.adapt(PoolableObjectFactory<V> factory)
          Adapt a PoolableObjectFactory instance to work where a KeyedPoolableObjectFactory is needed.
 void ObjectPool.setFactory(PoolableObjectFactory<T> factory)
          Deprecated. to be removed in pool 2.0
 void BaseObjectPool.setFactory(PoolableObjectFactory<T> factory)
          Deprecated. to be removed in pool 2.0
static
<T> PoolableObjectFactory<T>
PoolUtils.synchronizedPoolableFactory(PoolableObjectFactory<T> 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<T> StackObjectPoolFactory._factory
          Deprecated. to be made private in pool 2.0
protected  PoolableObjectFactory<T> StackObjectPool._factory
          Deprecated. to be made private in pool 2.0 - use StackObjectPool.getFactory()
protected  PoolableObjectFactory<T> GenericObjectPoolFactory._factory
          Deprecated. to be removed in pool 2.0. Use GenericObjectPoolFactory.getFactory().
 

Methods in org.apache.commons.pool.impl that return PoolableObjectFactory
 PoolableObjectFactory<T> StackObjectPoolFactory.getFactory()
          Returns the factory used by created pools.
 PoolableObjectFactory<T> StackObjectPool.getFactory()
          Returns the PoolableObjectFactory used by this pool to create and manage object instances.
 PoolableObjectFactory<T> SoftReferenceObjectPool.getFactory()
          Returns the PoolableObjectFactory used by this pool to create and manage object instances.
 PoolableObjectFactory<T> GenericObjectPoolFactory.getFactory()
           
 

Methods in org.apache.commons.pool.impl with parameters of type PoolableObjectFactory
 void StackObjectPool.setFactory(PoolableObjectFactory<T> factory)
          Deprecated. to be removed in pool 2.0
 void SoftReferenceObjectPool.setFactory(PoolableObjectFactory<T> factory)
          Deprecated. to be removed in pool 2.0
 void GenericObjectPool.setFactory(PoolableObjectFactory<T> factory)
          Deprecated. to be removed in version 2.0
 

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



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