When using newCachedThreadPool how do I get the current number of threads

Posted by NG on Stack Overflow See other posts from Stack Overflow or by NG
Published on 2010-04-17T08:18:10Z Indexed on 2010/04/17 8:23 UTC
Read the original article Hit count: 228

Filed under:
|

I'd like to log the number of active threads created by a newCachedThreadPool call. I can't seem to find out where to get this value though.

© Stack Overflow or respective owner

Related posts about java

Related posts about threading