Refactor batch fetching
-----------------------

                 Key: MAILBOX-113
                 URL: https://issues.apache.org/jira/browse/MAILBOX-113
             Project: James Mailbox
          Issue Type: Improvement
          Components: api, store
    Affects Versions: 0.3
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.4


At the moment we have to methods to fetch MessageResults. One which work with a 
callback to support fetching in batches and one which just return an Iterator 
and use no batching at all. This kind of callback API is kind of a "hack". It 
would be much nice to just have one method and support the batch fetching via a 
special Iterator implementation. This would allow us to have a cleaner API and 
still honor the Iterator contract

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to