Uses of Interface
org.apache.commons.pool2.KeyedPooledObjectFactory
Packages that use KeyedPooledObjectFactory
Package
Description
Object pooling API.
Object pooling API implementations.
-
Uses of KeyedPooledObjectFactory in org.apache.commons.pool2
Classes in org.apache.commons.pool2 that implement KeyedPooledObjectFactoryModifier and TypeClassDescriptionclass
A base implementation ofKeyedPooledObjectFactory
.Methods in org.apache.commons.pool2 that return KeyedPooledObjectFactoryModifier and TypeMethodDescriptionstatic <K,
V> KeyedPooledObjectFactory<K, V> PoolUtils.synchronizedKeyedPooledFactory
(KeyedPooledObjectFactory<K, V> keyedFactory) Returns a synchronized (thread-safe) KeyedPooledObjectFactory backed by the specified KeyedPooledObjectFactory.Methods in org.apache.commons.pool2 with parameters of type KeyedPooledObjectFactoryModifier and TypeMethodDescriptionstatic <K,
V> KeyedPooledObjectFactory<K, V> PoolUtils.synchronizedKeyedPooledFactory
(KeyedPooledObjectFactory<K, V> keyedFactory) Returns a synchronized (thread-safe) KeyedPooledObjectFactory backed by the specified KeyedPooledObjectFactory. -
Uses of KeyedPooledObjectFactory in org.apache.commons.pool2.impl
Methods in org.apache.commons.pool2.impl that return KeyedPooledObjectFactoryModifier and TypeMethodDescriptionGenericKeyedObjectPool.getFactory()
Gets a reference to the factory used to create, destroy and validate the objects used by this pool.Constructors in org.apache.commons.pool2.impl with parameters of type KeyedPooledObjectFactoryModifierConstructorDescriptionGenericKeyedObjectPool
(KeyedPooledObjectFactory<K, T> factory) Constructs a newGenericKeyedObjectPool
using defaults fromGenericKeyedObjectPoolConfig
.GenericKeyedObjectPool
(KeyedPooledObjectFactory<K, T> factory, GenericKeyedObjectPoolConfig<T> config) Constructs a newGenericKeyedObjectPool
using a specific configuration.GenericKeyedObjectPool
(KeyedPooledObjectFactory<K, T> factory, GenericKeyedObjectPoolConfig<T> config, AbandonedConfig abandonedConfig) Creates a newGenericKeyedObjectPool
that tracks and destroys objects that are checked out, but never returned to the pool.