开发者

Simple thread queue design pattern jdk1.4

I need to control the amount of concurrent thread's runnin开发者_JAVA技巧g. I think I need to use a thread pool? Is there a design pattern for this ? I'm using JDK1.4


There were lots of new classes added into the java.util.concurrent packages in JDK 5 and 6.

If you can't upgrade, I'd recommend looking for Doug Lea's concurrent JAR and seeing what it offers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜