Uses of Interface
org.apache.commons.pool2.KeyedPooledObjectFactory
Package
Description
Object pooling API.
Object pooling API implementations.
-
Uses of KeyedPooledObjectFactory in org.apache.commons.pool2
Modifier and TypeClassDescriptionclass
A base implementation ofKeyedPooledObjectFactory
.Modifier and TypeMethodDescriptionstatic <K,
V> KeyedPooledObjectFactory<K, V> PoolUtils.synchronizedKeyedPooledFactory
(KeyedPooledObjectFactory<K, V> keyedFactory) Returns a synchronized (thread-safe) KeyedPooledObjectFactory backed by the specified KeyedPooledObjectFactory.Modifier 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
Modifier and TypeMethodDescriptionGenericKeyedObjectPool.getFactory()
Gets a reference to the factory used to create, destroy and validate the objects used by this pool.ModifierConstructorDescriptionGenericKeyedObjectPool
(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.