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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
PoolableConnectionFactory
A
PooledObjectFactory that creates PoolableConnection s. |
Modifier and Type | Class and Description |
---|---|
class |
BasePooledObjectFactory<T>
A base implementation of
PoolableObjectFactory . |
Modifier and Type | Method and Description |
---|---|
static <T> PooledObjectFactory<T> |
PoolUtils.synchronizedPooledFactory(PooledObjectFactory<T> factory)
Returns a synchronized (thread-safe) PooledObjectFactory backed by the
specified PooledObjectFactory.
|
Modifier and Type | Method and Description |
---|---|
static <T> PooledObjectFactory<T> |
PoolUtils.synchronizedPooledFactory(PooledObjectFactory<T> factory)
Returns a synchronized (thread-safe) PooledObjectFactory backed by the
specified PooledObjectFactory.
|
Modifier and Type | Method and Description |
---|---|
PooledObjectFactory<T> |
SoftReferenceObjectPool.getFactory()
Returns the
PooledObjectFactory used by this pool to create and
manage object instances. |
PooledObjectFactory<T> |
GenericObjectPool.getFactory()
Obtains a reference to the factory used to create, destroy and validate
the objects used by this pool.
|
Constructor and Description |
---|
GenericObjectPool(PooledObjectFactory<T> factory)
Creates a new
GenericObjectPool using defaults from
GenericObjectPoolConfig . |
GenericObjectPool(PooledObjectFactory<T> factory,
GenericObjectPoolConfig<T> config)
Creates a new
GenericObjectPool using a specific
configuration. |
GenericObjectPool(PooledObjectFactory<T> factory,
GenericObjectPoolConfig<T> config,
AbandonedConfig abandonedConfig)
Creates a new
GenericObjectPool that tracks and destroys
objects that are checked out, but never returned to the pool. |
SoftReferenceObjectPool(PooledObjectFactory<T> factory)
Create a
SoftReferenceObjectPool with the specified factory. |
Copyright © 2020. All rights reserved.