开发者

Executor and Future class equivalents for JDK 1.4 to achieve execution timeouts

开发者 https://www.devze.com 2023-01-30 23:32 出处:网络
Is there开发者_运维百科 a framework that is compatible with JDK 1.4 that can simulate the same execution timeout functionality via thread management as in Executor and Future found in JDK 5?There is a

Is there开发者_运维百科 a framework that is compatible with JDK 1.4 that can simulate the same execution timeout functionality via thread management as in Executor and Future found in JDK 5?


There is a back port of the JDK 5.0 library which use the same classes names etc. http://backport-jsr166.sourceforge.net/ It supports Java 1.2, 1.3, 1.4, 5.0 and 6. There was no Java 4.


Check out the pre-Java5 util.concurrent package. It's what the new concurrency classes were based on.

0

精彩评论

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