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
.private static class
PoolUtils.SynchronizedKeyedPooledObjectFactory<K,V>
A fully synchronized KeyedPooledObjectFactory that wraps a KeyedPooledObjectFactory and synchronizes access to the wrapped factory methods.Fields in org.apache.commons.pool2 declared as KeyedPooledObjectFactory Modifier and Type Field Description private KeyedPooledObjectFactory<K,V>
PoolUtils.SynchronizedKeyedPooledObjectFactory. keyedFactory
Wrapped factoryMethods 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 KeyedPoolableObjectFactory.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 KeyedPoolableObjectFactory.Constructors in org.apache.commons.pool2 with parameters of type KeyedPooledObjectFactory Constructor Description SynchronizedKeyedPooledObjectFactory(KeyedPooledObjectFactory<K,V> keyedFactory)
Create a SynchronizedKeyedPoolableObjectFactory wrapping the given factory. -
Uses of KeyedPooledObjectFactory in org.apache.commons.pool2.impl
Fields in org.apache.commons.pool2.impl declared as KeyedPooledObjectFactory Modifier and Type Field Description private KeyedPooledObjectFactory<K,T>
GenericKeyedObjectPool. factory
Methods in org.apache.commons.pool2.impl that return KeyedPooledObjectFactory Modifier and Type Method Description KeyedPooledObjectFactory<K,T>
GenericKeyedObjectPool. getFactory()
Obtain 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)
Create a newGenericKeyedObjectPool
using defaults fromGenericKeyedObjectPoolConfig
.GenericKeyedObjectPool(KeyedPooledObjectFactory<K,T> factory, GenericKeyedObjectPoolConfig config)
Create a newGenericKeyedObjectPool
using a specific configuration.
-