Uses of Interface
org.apache.commons.pool2.KeyedPooledObjectFactory
-
Packages that use KeyedPooledObjectFactory Package Description org.apache.commons.pool2 Object pooling API.org.apache.commons.pool2.impl Object pooling API implementations. -
-
Uses of KeyedPooledObjectFactory in org.apache.commons.pool2
Classes in org.apache.commons.pool2 that implement KeyedPooledObjectFactory Modifier and Type Class Description class
BaseKeyedPooledObjectFactory<K,V>
A base implementation ofKeyedPooledObjectFactory
.Methods in org.apache.commons.pool2 that return KeyedPooledObjectFactory Modifier and Type Method Description static <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 KeyedPooledObjectFactory Modifier and Type Method Description static <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 KeyedPooledObjectFactory Modifier and Type Method Description KeyedPooledObjectFactory<K,T>
GenericKeyedObjectPool. 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 KeyedPooledObjectFactory Constructor Description GenericKeyedObjectPool(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.
-