Mark Thomas wrote: > > > Look at the JavaDocs. > > Mark > >From JavaDocs: " public static KeyedObjectPool synchronizedPool(KeyedObjectPool keyedPool)
Returns a synchronized (thread-safe) KeyedObjectPool backed by the specified KeyedObjectPool. Note: This should not be used on pool implementations that already provide proper synchronization such as the pools provided in the Commons Pool library. Wrapping a pool that waits for poolable objects to be returned before allowing another one to be borrowed with another layer of synchronization will cause liveliness issues or a deadlock. " Sorry for my dumb question. Thanks for replying. -- View this message in context: http://www.nabble.com/commons.pool-1.5.2-PoolUtils.synchronizedPool-question-tp25397061p25397315.html Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
