logo       

Re: Questions about ThreadPoolExecutor and possible loss of 'command': msg#00041

java.jsr.166-concurrency

Subject: Re: Questions about ThreadPoolExecutor and possible loss of 'command'


Typically an application will like to use max threads and if all max
threads are busy then queue task (in unbounded queue) instead of rejecting it.


Can I get such behavior from ThreadPoolExecutor?

That's what Executors.newFixedThreadPool gives you.

Sorry you found the terminology of core vs max threads confusing.
It's the best we could come up with.


-Doug


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise