Uses of Interface
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.PooledObjectFactory
-
Packages that use PooledObjectFactory Package Description org.datanucleus.store.rdbms.datasource.dbcp2 This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.org.datanucleus.store.rdbms.datasource.dbcp2.datasources This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.org.datanucleus.store.rdbms.datasource.dbcp2.pool2 This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0. -
-
Uses of PooledObjectFactory in org.datanucleus.store.rdbms.datasource.dbcp2
Classes in org.datanucleus.store.rdbms.datasource.dbcp2 that implement PooledObjectFactory Modifier and Type Class Description class
PoolableConnectionFactory
APooledObjectFactory
that createsPoolableConnection
s. -
Uses of PooledObjectFactory in org.datanucleus.store.rdbms.datasource.dbcp2.datasources
Classes in org.datanucleus.store.rdbms.datasource.dbcp2.datasources that implement PooledObjectFactory Modifier and Type Class Description (package private) class
CPDSConnectionFactory
APooledObjectFactory
that createsPoolableConnection
s. -
Uses of PooledObjectFactory in org.datanucleus.store.rdbms.datasource.dbcp2.pool2
Classes in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that implement PooledObjectFactory Modifier and Type Class Description class
BasePooledObjectFactory<T>
A base implementation ofPoolableObjectFactory
.private static class
PoolUtils.SynchronizedPooledObjectFactory<T>
A fully synchronized PooledObjectFactory that wraps a PooledObjectFactory and synchronizes access to the wrapped factory methods.Fields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 declared as PooledObjectFactory Modifier and Type Field Description private PooledObjectFactory<T>
PoolUtils.SynchronizedPooledObjectFactory. factory
Wrapped factoryMethods in org.datanucleus.store.rdbms.datasource.dbcp2.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.datanucleus.store.rdbms.datasource.dbcp2.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.datanucleus.store.rdbms.datasource.dbcp2.pool2 with parameters of type PooledObjectFactory Constructor Description SynchronizedPooledObjectFactory(PooledObjectFactory<T> factory)
Creates a SynchronizedPoolableObjectFactory wrapping the given factory. -
Uses of PooledObjectFactory in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl
Fields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl declared as PooledObjectFactory Modifier and Type Field Description private PooledObjectFactory<T>
GenericObjectPool. factory
private PooledObjectFactory<T>
SoftReferenceObjectPool. factory
Factory to source pooled objectsMethods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl that return PooledObjectFactory Modifier and Type Method Description PooledObjectFactory<T>
GenericObjectPool. getFactory()
Obtains a reference to the factory used to create, destroy and validate the objects used by this pool.PooledObjectFactory<T>
SoftReferenceObjectPool. getFactory()
Returns thePooledObjectFactory
used by this pool to create and manage object instances.Method parameters in org.datanucleus.store.rdbms.datasource.dbcp2.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> factoryClass)
Identifies the concrete type of object that an object factory creates.Constructors in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl with parameters of type PooledObjectFactory Constructor Description GenericObjectPool(PooledObjectFactory<T> factory)
Creates a newGenericObjectPool
using defaults fromGenericObjectPoolConfig
.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config)
Creates a newGenericObjectPool
using a specific configuration.GenericObjectPool(PooledObjectFactory<T> factory, GenericObjectPoolConfig<T> config, AbandonedConfig abandonedConfig)
Creates a newGenericObjectPool
that tracks and destroys objects that are checked out, but never returned to the pool.SoftReferenceObjectPool(PooledObjectFactory<T> factory)
Create aSoftReferenceObjectPool
with the specified factory.
-