Class PoolUtils.SynchronizedPooledObjectFactory<T>

java.lang.Object
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.PoolUtils.SynchronizedPooledObjectFactory<T>
Type Parameters:
T - pooled object factory type
All Implemented Interfaces:
PooledObjectFactory<T>
Enclosing class:
PoolUtils

private static final class PoolUtils.SynchronizedPooledObjectFactory<T> extends Object implements PooledObjectFactory<T>
A fully synchronized PooledObjectFactory that wraps a PooledObjectFactory and synchronizes access to the wrapped factory methods.

Note: This should not be used on pool implementations that already provide proper synchronization such as the pools provided in the Commons Pool library.