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.
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.