PoolUtils.synchronizedPooledFactory

Returns a synchronized (thread-safe) PooledObjectFactory backed by the specified PooledObjectFactory.

@param factory the PooledObjectFactory to be "wrapped" in a synchronized PooledObjectFactory. @param <T> the type of objects in the pool @return a synchronized view of the specified PooledObjectFactory.

class PoolUtils
static
PooledObjectFactory!(T)
synchronizedPooledFactory
(
T
)
(
PooledObjectFactory!(T) factory
)

Meta