Re: Pattern for One-Entry-Multiple-Workers Problem
Stefan Schulz <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Thanks Mark, I think i found the solution now that I understand my problem better myself. :) The channel idea is interesting, too, thanks. Cheers, Stefan Mark Brouwer wrote: > Must admit I haven't read the followup mails and not sure whether I > grasped all the details, but the above could be accomplished by a > distributed linked list in which the tasks will be submitted and for > each task the manager should create a channel. The channel can be used > by the workers to submit their result too. In case the manager decides > the process is finished it could remove the entry from the linked list > and reads the entries in the channel and removes the channel too. > Haven't given it much thought, but could work if you don't want to rely > on events. > -- > Mark > =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JAVASPACES-USERS". For general help, send email to [email protected] and include in the body of the message "help". To view past JAVASPACES-USERS postings, please see: http://archives.java.sun.com/archives/javaspaces-users.html JDC members can download the JavaSpaces(tm) Technology from: http://developer.java.sun.com/developer/products/jini/