Uses of Interface
org.apache.commons.pool2.PooledObjectFactory
-
Packages that use PooledObjectFactory Package Description org.apache.commons.pool2 Object pooling API.org.apache.commons.pool2.impl Object pooling API implementations.org.apache.directory.ldap.client.api -
-
Uses of PooledObjectFactory in org.apache.commons.pool2
Classes in org.apache.commons.pool2 that implement PooledObjectFactory Modifier and Type Class Description classBasePooledObjectFactory<T>A base implementation ofPoolableObjectFactory.Methods in org.apache.commons.pool2 that return PooledObjectFactory Modifier and Type Method Description static <T> PooledObjectFactory<T>PoolUtils. synchronizedPooledFactory(PooledObjectFactory<T> factory)Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory.Methods in org.apache.commons.pool2 with parameters of type PooledObjectFactory Modifier and Type Method Description static <T> PooledObjectFactory<T>PoolUtils. synchronizedPooledFactory(PooledObjectFactory<T> factory)Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory. -
Uses of PooledObjectFactory in org.apache.commons.pool2.impl
Methods in org.apache.commons.pool2.impl that return PooledObjectFactory Modifier and Type Method Description PooledObjectFactory<T>GenericObjectPool. getFactory()Gets a reference to the factory used to create, destroy and validate the objects used by this pool.PooledObjectFactory<T>SoftReferenceObjectPool. getFactory()Gets thePooledObjectFactoryused by this pool to create and manage object instances.Method parameters in org.apache.commons.pool2.impl with type arguments of type PooledObjectFactory Modifier and Type Method Description (package private) static Class<?>PoolImplUtils. getFactoryType(Class<? extends PooledObjectFactory> factoryClass)Identifies the concrete type of object that an object factory creates.Constructors in org.apache.commons.pool2.impl with parameters of type PooledObjectFactory Constructor Description GenericObjectPool(PooledObjectFactory<T> factory)Creates a newGenericObjectPoolusing defaults fromGenericObjectPoolConfig.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config)Creates a newGenericObjectPoolusing a specific configuration.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config, AbandonedConfig abandonedConfig)Creates a newGenericObjectPoolthat tracks and destroys objects that are checked out, but never returned to the pool.SoftReferenceObjectPool(PooledObjectFactory<T> factory)Constructs aSoftReferenceObjectPoolwith the specified factory. -
Uses of PooledObjectFactory in org.apache.directory.ldap.client.api
Classes in org.apache.directory.ldap.client.api that implement PooledObjectFactory Modifier and Type Class Description classAbstractPoolableLdapConnectionFactoryAn abstract class implementing the PoolableObjectFactory, for LdapConnections.classDefaultPoolableLdapConnectionFactoryA factory for creating LdapConnection objects managed by LdapConnectionPool.classValidatingPoolableLdapConnectionFactoryA factory for creating LdapConnection objects managed by LdapConnectionPool.Constructors in org.apache.directory.ldap.client.api with parameters of type PooledObjectFactory Constructor Description LdapConnectionPool(PooledObjectFactory<LdapConnection> factory)Instantiates a new LDAP connection pool.LdapConnectionPool(PooledObjectFactory<LdapConnection> factory, GenericObjectPoolConfig poolConfig)Instantiates a new LDAP connection pool.
-