Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 57856 invoked from network); 18 Mar 2009 17:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2009 17:41:13 -0000 Received: (qmail 76622 invoked by uid 500); 18 Mar 2009 17:41:12 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 76602 invoked by uid 500); 18 Mar 2009 17:41:12 -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 76593 invoked by uid 99); 18 Mar 2009 17:41:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 10:41:11 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 17:41:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ljzkx-0001QJ-PJ for dev@jackrabbit.apache.org; Wed, 18 Mar 2009 10:40:43 -0700 Message-ID: <22584572.post@talk.nabble.com> Date: Wed, 18 Mar 2009 10:40:43 -0700 (PDT) From: defeng To: dev@jackrabbit.apache.org Subject: Re: Add id map and path map in SharedISM? In-Reply-To: <90a8d1c00903180657g49fe907awbfd74ded8111752e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: defeng.lu@gmail.com References: <22578913.post@talk.nabble.com> <90a8d1c00903180657g49fe907awbfd74ded8111752e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org But in ShareISM, when creating EventStateCollection, it still uses session-scope HierarchyManager to getPath(id). In my test, I found getPath(id) was a very expensive method, that's why i want to cache the id-path map in shared-scope. Regards, Stefan Guggisberg wrote: > > On Wed, Mar 18, 2009 at 2:14 PM, defeng wrote: >> >> Currently, the CachingHierarchyManager is per session. Is it possble to >> save >> the id-path map in SharedISM? > > no. CachingHierarchyManager reflects session-scoped hierarchy information > (i.e. including transient state) whereas SharedISM has global workspace > scope > and is not tied to a session. > > cheers > stefan > >> -- >> View this message in context: >> http://www.nabble.com/Add-id-map-and-path-map-in-SharedISM--tp22578913p22578913.html >> Sent from the Jackrabbit - Dev mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Add-id-map-and-path-map-in-SharedISM--tp22578913p22584572.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.