Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## 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)` Deprecated. to be removed in pool 2.0
`void` | `BaseObjectPool.setFactory(PoolableObjectFactory factory)` Deprecated. to be removed in pool 2.0
`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` Deprecated. to be made private in pool 2.0
`protected PoolableObjectFactory` | `StackObjectPool._factory` Deprecated. to be made private in pool 2.0 - use `StackObjectPool.getFactory()`
`protected PoolableObjectFactory` | `GenericObjectPoolFactory._factory` Deprecated. to be removed in pool 2.0. Use `GenericObjectPoolFactory.getFactory()`.

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

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

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 2.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 maxIdle.
`StackObjectPool(PoolableObjectFactory 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 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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