Uses of Interface
org.apache.commons.pool2.PooledObjectFactory
Packages that use PooledObjectFactory
Package
Description
Object pooling API.
Object pooling API implementations.
-
Uses of PooledObjectFactory in org.apache.commons.pool2
Classes in org.apache.commons.pool2 that implement PooledObjectFactoryModifier and TypeClassDescriptionclassA base implementation ofPoolableObjectFactory.Methods in org.apache.commons.pool2 that return PooledObjectFactoryModifier and TypeMethodDescriptionstatic <T> PooledObjectFactory<T> PoolUtils.synchronizedPooledFactory(PooledObjectFactory<T> factory) Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory.Methods in org.apache.commons.pool2 with parameters of type PooledObjectFactoryModifier and TypeMethodDescriptionstatic <T> PooledObjectFactory<T> PoolUtils.synchronizedPooledFactory(PooledObjectFactory<T> factory) Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory. -
Uses of PooledObjectFactory in org.apache.commons.pool2.impl
Methods in org.apache.commons.pool2.impl that return PooledObjectFactoryModifier and TypeMethodDescriptionGenericObjectPool.getFactory()Gets a reference to the factory used to create, destroy and validate the objects used by this pool.SoftReferenceObjectPool.getFactory()Gets thePooledObjectFactoryused by this pool to create and manage object instances.Constructors in org.apache.commons.pool2.impl with parameters of type PooledObjectFactoryModifierConstructorDescriptionGenericObjectPool(PooledObjectFactory<T> factory) Creates a newGenericObjectPoolusing defaults fromGenericObjectPoolConfig.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config) Creates a newGenericObjectPoolusing a specific configuration.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config, AbandonedConfig abandonedConfig) Creates a newGenericObjectPoolthat tracks and destroys objects that are checked out, but never returned to the pool.SoftReferenceObjectPool(PooledObjectFactory<T> factory) Constructs aSoftReferenceObjectPoolwith the specified factory.