Limit a process pool's max concurrency level

21 views
Skip to first unread message

Howie T

unread,
Aug 29, 2016, 5:58:19 AM8/29/16
to COPPER Engine
Hi there,

If I want to control the threshold of a certain process pool, which let's say only allows 30 concurrent threads to access a certain resource globally.
Can I simply define a new processpool and set the lowerThreshold  to 29 and upperThreshold to 30 to achieve this? It looks promising...

Thanks!

Howie T

unread,
Aug 29, 2016, 6:02:21 AM8/29/16
to COPPER Engine
actually ... I think it's the constructor parameter numberOfThreads, is it?

Michael Austermann

unread,
Aug 29, 2016, 6:34:40 AM8/29/16
to copper...@googlegroups.com
Yes, you are right.


Von: "Howie" <cka...@gmail.com>
An: "COPPER Engine" <copper...@googlegroups.com>
Gesendet: Montag, 29. August 2016 12:02:21
Betreff: [COPPER Users] Re: Limit a process pool's max concurrency level

--
You received this message because you are subscribed to the Google Groups "COPPER Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copper-engin...@googlegroups.com.
To post to this group, send email to copper...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copper-engine/b2cae978-645c-4f2d-b4bf-8aaab78dd4ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages