This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Number of working threads using java executor framework  RSS feed

 
arpan mukherjee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm creating a java thread pool using java 1.5 executor framework.


Now I want to get the number of working thread at runtime. Is there any java api available to do this using java 1.5 executor framework?
 
thushara wijeratna
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think this is difficult to get as the design goals of the Executor framework was to largely hide the underlying thread details from the user.
perhaps you can describe what you are trying to do, and we can think of another way to do that?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!