Collections or remote iterators, not both.
------------------------------------------
Key: RIVER-381
URL: https://issues.apache.org/jira/browse/RIVER-381
Project: River
Issue Type: Wish
Components: com_sun_jini_outrigger, net_jini_space
Reporter: James Grahn
Priority: Minor
JavaSpace05.contents() returns a remote iterator named "MatchSet".
JavaSpace05.take(with collection) returns a collection.
Implementation detail aside, the purpose of both methods is quite similar -
returning multiple entries from space at once, either from the
readIfExists-like "contents" method or the take-like take-with-collection
method.
Thus it is preferable in my mind to have a standard return type across these
methods and any future functionality of the same nature. The community could
indicate whether it prefers remote iterators or collections.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.