apigee, a better way to API!
Ed's latest article: A Java Reactive Generator http://coopsoft.com/ar/ReactiveArticle.html
This could take months to research, develop and test. Frameworks take man years to develop.
The best you can do with a Java thread is to program it to recognize a stop request and return in the run method.
apigee, a better way to API!
Ed's latest article: A Java Reactive Generator http://coopsoft.com/ar/ReactiveArticle.html
Six programmers working on a task for two months is a man year.
I work on an open source project that does just that. It defines a Queue with a managed pool of threads. Clients add requests to the Queue and the well-managed threads pick up the requests, use reflection to execute a user-defined Class and return any object to the caller. Each stage of the life of a thread is timed. This way a monitor thread can flag threads that use excessive time.
This is the product page. There is a link to download the product from SourceForge.net
Tymeac Product
You can use any of the code or just the idea.
apigee, a better way to API!
Ed's latest article: A Java Reactive Generator http://coopsoft.com/ar/ReactiveArticle.html
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |