Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 92839 invoked from network); 28 Nov 2007 13:14:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 13:14:09 -0000 Received: (qmail 94600 invoked by uid 500); 28 Nov 2007 13:13:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 94574 invoked by uid 500); 28 Nov 2007 13:13:56 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 94565 invoked by uid 99); 28 Nov 2007 13:13:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 05:13:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 13:13:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B7F371423B for ; Wed, 28 Nov 2007 05:13:44 -0800 (PST) Message-ID: <24170865.1196255624634.JavaMail.jira@brutus> Date: Wed, 28 Nov 2007 05:13:44 -0800 (PST) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1239) SPI: Return value of RepositoryService.getChildInfos In-Reply-To: <23227699.1196177623005.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546234 ] Marcel Reutegger commented on JCR-1239: --------------------------------------- If there are hundreds of thousands of children your UI will be swamped anyway and should rather stop displaying children after a few hundreds and tell the user that there are 'many' children. > SPI: Return value of RepositoryService.getChildInfos > ---------------------------------------------------- > > Key: JCR-1239 > URL: https://issues.apache.org/jira/browse/JCR-1239 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-spi > Reporter: angela > Fix For: 1.4 > > > separate issue started by julian within issue #1166: > RepositoryService.getChildInfos is defined to return an Iterator. > this forces the caller to loop over all entries in order to detect the number of child-nodes. > currently the hierarchy is populated any way, but that could be a source for future optimization. > possible solutions: > - change return value to RangeIterator > - change return value to Collection (or Set). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.