jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From defeng <defeng...@gmail.com>
Subject Re: Add id map and path map in SharedISM?
Date Wed, 18 Mar 2009 17:40:43 GMT

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 <defeng.lu@gmail.com> 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.


Mime
View raw message