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 |
PoolingConnection
A
DelegatingConnection that pools PreparedStatement s. |
Modifier and Type | Class and Description |
---|---|
class |
BaseKeyedPooledObjectFactory<K,V>
A base implementation of
KeyedPooledObjectFactory . |
Modifier and Type | Method and Description |
---|---|
static <K,V> KeyedPooledObjectFactory<K,V> |
PoolUtils.synchronizedKeyedPooledFactory(KeyedPooledObjectFactory<K,V> keyedFactory)
Returns a synchronized (thread-safe) KeyedPooledObjectFactory backed by
the specified KeyedPoolableObjectFactory.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> KeyedPooledObjectFactory<K,V> |
PoolUtils.synchronizedKeyedPooledFactory(KeyedPooledObjectFactory<K,V> keyedFactory)
Returns a synchronized (thread-safe) KeyedPooledObjectFactory backed by
the specified KeyedPoolableObjectFactory.
|
Modifier and Type | Method and Description |
---|---|
KeyedPooledObjectFactory<K,T> |
GenericKeyedObjectPool.getFactory()
Obtain a reference to the factory used to create, destroy and validate
the objects used by this pool.
|
Constructor and Description |
---|
GenericKeyedObjectPool(KeyedPooledObjectFactory<K,T> factory)
Create a new
GenericKeyedObjectPool using defaults from
GenericKeyedObjectPoolConfig . |
GenericKeyedObjectPool(KeyedPooledObjectFactory<K,T> factory,
GenericKeyedObjectPoolConfig<T> config)
Create a new
GenericKeyedObjectPool using a specific
configuration. |
Copyright © 2020. All rights reserved.