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...@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.