On 20/02/2012 11:15 AM, Christoph Läubrich wrote:
> Quoting from the Javadoc of the first link: "Threads that have not been used for sixty seconds are terminated and removed from the cache. > Thus, a pool that remains idle for long enough will not consume any resources." I think you are getting the doc wrong! 'Idle' here means: 'Threads that have not been used' aka finished executing the run() method of the executable! If your thread is runnin in an endless loop, it won't be reclaimed!
I agree, but why would the thread run in an endless loop? Doesn't H2 have the ability to spin off a new thread per request?
Gili -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
