Uses of Interface
org.apache.commons.pool2.PooledObjectFactory
Package
Description
Object pooling API.
Object pooling API implementations.
-
Uses of PooledObjectFactory in org.apache.commons.pool2
Modifier and TypeClassDescriptionclass
A base implementation ofPoolableObjectFactory
.Modifier and TypeMethodDescriptionstatic <T> PooledObjectFactory<T>
PoolUtils.synchronizedPooledFactory
(PooledObjectFactory<T> factory) Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory.Modifier 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
Modifier and TypeMethodDescriptionGenericObjectPool.getFactory()
Gets a reference to the factory used to create, destroy and validate the objects used by this pool.SoftReferenceObjectPool.getFactory()
Gets thePooledObjectFactory
used by this pool to create and manage object instances.ModifierConstructorDescriptionGenericObjectPool
(PooledObjectFactory<T> factory) Creates a newGenericObjectPool
using defaults fromGenericObjectPoolConfig
.GenericObjectPool
(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config) Creates a newGenericObjectPool
using a specific configuration.GenericObjectPool
(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config, AbandonedConfig abandonedConfig) Creates a newGenericObjectPool
that tracks and destroys objects that are checked out, but never returned to the pool.SoftReferenceObjectPool
(PooledObjectFactory<T> factory) Constructs aSoftReferenceObjectPool
with the specified factory.