Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 85253 invoked from network); 10 Mar 2011 01:58:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Mar 2011 01:58:21 -0000 Received: (qmail 57130 invoked by uid 500); 10 Mar 2011 01:58:21 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 56970 invoked by uid 500); 10 Mar 2011 01:58:21 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 56879 invoked by uid 99); 10 Mar 2011 01:58:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 01:58:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 01:58:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 752C33A0980 for ; Thu, 10 Mar 2011 01:57:59 +0000 (UTC) Date: Thu, 10 Mar 2011 01:57:59 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: <1755475515.9883.1299722279476.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Resolved: (NET-237) add streaming methods (corresponding to array methods) to NNTPClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb resolved NET-237. ---------------------- Resolution: Fixed Fix Version/s: 3.0 Assignee: (was: Sebb) String and NewsGroupInfo iterators added > add streaming methods (corresponding to array methods) to NNTPClient > -------------------------------------------------------------------- > > Key: NET-237 > URL: https://issues.apache.org/jira/browse/NET-237 > Project: Commons Net > Issue Type: New Feature > Components: NNTP > Affects Versions: 1.0, 1.1, 1.1.1, 1.2, 1.2.1, 1.2.2, 1.3, 1.4, 2.0 > Reporter: Ken Geis > Priority: Minor > Fix For: 3.0 > > > NNTPClient.listNewNews(..) can use a lot of memory for large groups. I recommend adding streaming version of the same. > Iterator iterateNewNews(NewGroupsOrNewsQuery query); > One could also add streaming versions of the *Newsgroups methods, but these are expected to have smaller results than some large newsgroups. > Iterator iterateNewNewsgroups(NewGroupsOrNewsQuery query); > Iterator iterateNewsgroups(); > Iterator iterateNewsgroups(String wildmat); > I'll work on iterateNewNews(..) and submit a patch if it's good. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira