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. -
-
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.private static classPoolUtils.SynchronizedPooledObjectFactory<T>A fully synchronized PooledObjectFactory that wraps a PooledObjectFactory and synchronizes access to the wrapped factory methods.Fields in org.apache.commons.pool2 declared as PooledObjectFactory Modifier and Type Field Description private PooledObjectFactory<T>PoolUtils.SynchronizedPooledObjectFactory. factoryWrapped factoryMethods 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.Constructors in org.apache.commons.pool2 with parameters of type PooledObjectFactory Constructor Description SynchronizedPooledObjectFactory(PooledObjectFactory<T> factory)Create a SynchronizedPoolableObjectFactory wrapping the given factory. -
Uses of PooledObjectFactory in org.apache.commons.pool2.impl
Fields in org.apache.commons.pool2.impl declared as PooledObjectFactory Modifier and Type Field Description private PooledObjectFactory<T>GenericObjectPool. factoryprivate PooledObjectFactory<T>SoftReferenceObjectPool. factoryFactory to source pooled objectsMethods in org.apache.commons.pool2.impl that return PooledObjectFactory Modifier and Type Method Description PooledObjectFactory<T>GenericObjectPool. getFactory()Obtain a reference to the factory used to create, destroy and validate the objects used by this pool.PooledObjectFactory<T>SoftReferenceObjectPool. getFactory()Returns 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 java.lang.Class<?>PoolImplUtils. getFactoryType(java.lang.Class<? extends PooledObjectFactory> factory)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)Create a newGenericObjectPoolusing defaults fromGenericObjectPoolConfig.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig config)Create a newGenericObjectPoolusing a specific configuration.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig config, AbandonedConfig abandonedConfig)Create a newGenericObjectPoolthat tracks and destroys objects that are checked out, but never returned to the pool.SoftReferenceObjectPool(PooledObjectFactory<T> factory)Create aSoftReferenceObjectPoolwith the specified factory.
-