TheWolf
TheWolf

Reputation: 1695

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

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?

Upvotes: 0

Views: 866

Answers (2)

Peter Lawrey
Peter Lawrey

Reputation: 533500

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.

Upvotes: 4

Nicholas
Nicholas

Reputation: 16056

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

Upvotes: 3

Related Questions