PoolUtils.synchronizedKeyedPooledFactory

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

@param keyedFactory the KeyedPooledObjectFactory to be "wrapped" in a synchronized KeyedPooledObjectFactory. @param <K> the type of the pool key @param <V> the type of pool entries @return a synchronized view of the specified KeyedPooledObjectFactory.

class PoolUtils
static
KeyedPooledObjectFactory!(K, V)
synchronizedKeyedPooledFactory
(
K
V
)
(
KeyedPooledObjectFactory!(K, V) keyedFactory
)

Meta