Re: [PATCH] jdbc-pool | FairBlockingQueue

2013-05-25 Thread Björn Raupach
Hi Chris, thank you for your answer. Will do. :-) kind regards, Björn On May 24, 2013, at 23:10 , Christopher Schultz wrote: > Björn, > > On 5/24/13 4:08 PM, Björn Raupach wrote: >> out of pure curiosity I was browsing the source of jdbc-pool and >> end

[PATCH] jdbc-pool | FairBlockingQueue

2013-05-24 Thread Björn Raupach
Hello, out of pure curiosity I was browsing the source of jdbc-pool and ended up looking through FairBlockingQueue. FairBlockingQueue utilises a global ReentrantLock for mutual exclusion. Common practice is to always follow a call to lock with a try-finally block. The methods poll(long, TimeUni