Order of Delivery

Stephen Holly <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <LISTSERV%[email protected]>
All,

Does anyone know the order to which the JavaSpace serves up its entry's??

For example, if the javaspace finds multiple matches for a clients 'take'
request, which does it deliver?? After doing some testing I think it might
be Last In First Out, or may be the one with the longest lease time
available.

Also, do you think it would be a good enhancement if the Entry class held
the lease time available in a data member?? I have a system where on error
the client writes back the entry to the space. It would be good if on
writing it back, you could leve it as if the client had not touched it
(with the same lease time). I know I could easily implement it myself but
I think it is probibly a common situation, and therefore warrants being
there as standard. However maybe I have missed some functionality as I am
new to Jini.

Any input on this would be greatly appreciated.

Cheers,
Stevo.

===========================================================================
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.