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 TypeClassDescriptionclassA base implementation ofKeyedPooledObjectFactory.private static final classA fully synchronized KeyedPooledObjectFactory that wraps a KeyedPooledObjectFactory and synchronizes access to the wrapped factory methods.Fields in org.apache.commons.pool2 declared as KeyedPooledObjectFactoryModifier and TypeFieldDescriptionprivate final KeyedPooledObjectFactory<K,V> PoolUtils.SynchronizedKeyedPooledObjectFactory.keyedFactoryWrapped factoryMethods 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.Constructors in org.apache.commons.pool2 with parameters of type KeyedPooledObjectFactoryModifierConstructorDescription(package private)SynchronizedKeyedPooledObjectFactory(KeyedPooledObjectFactory<K, V> keyedFactory) Creates a SynchronizedKeyedPooledObjectFactory wrapping the given factory. -
Uses of KeyedPooledObjectFactory in org.apache.commons.pool2.impl
Fields in org.apache.commons.pool2.impl declared as KeyedPooledObjectFactoryModifier and TypeFieldDescriptionprivate final KeyedPooledObjectFactory<K,T> GenericKeyedObjectPool.factoryMethods 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 newGenericKeyedObjectPoolusing defaults fromGenericKeyedObjectPoolConfig.GenericKeyedObjectPool(KeyedPooledObjectFactory<K, T> factory, GenericKeyedObjectPoolConfig<T> config) Constructs a newGenericKeyedObjectPoolusing a specific configuration.GenericKeyedObjectPool(KeyedPooledObjectFactory<K, T> factory, GenericKeyedObjectPoolConfig<T> config, AbandonedConfig abandonedConfig) Creates a newGenericKeyedObjectPoolthat tracks and destroys objects that are checked out, but never returned to the pool.