Question about current ThreadPool implementation (1.0.7)

2012-02-29 Thread Maki Watanabe
I've found all JMXEnabledThreadPool and JMXConfigurableThreadPool are constructed with LinkedBlockingQueue as workQueue, and the LBQs are constructed by the default constructor. It means the queue has Integer.MAX_VALUE capacity. In other words, any tasks won't be rejected (Dropped) before we would

Re: Question about current ThreadPool implementation (1.0.7)

2012-02-29 Thread Jonathan Ellis
Right. We explicitly manage overload by dropping tasks that won't complete in time, in OutboundTcpConnection and MessagedDeliveryTask. On Wed, Feb 29, 2012 at 6:01 AM, Maki Watanabe wrote: > I've found all JMXEnabledThreadPool and JMXConfigurableThreadPool are > constructed with LinkedBlockingQu

Re: Question about current ThreadPool implementation (1.0.7)

2012-02-29 Thread Maki Watanabe
Thanks. I understood the policy. 2012/3/1 Jonathan Ellis : > Right.  We explicitly manage overload by dropping tasks that won't > complete in time, in OutboundTcpConnection and MessagedDeliveryTask. > > On Wed, Feb 29, 2012 at 6:01 AM, Maki Watanabe > wrote: >> I've found all JMXEnabledThreadPoo