You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "James Grahn (JIRA)" <ji...@apache.org> on 2010/12/14 18:11:05 UTC

[jira] Created: (RIVER-381) Collections or remote iterators, not both.

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.