Re: [Modeling-users] Partial dispose
Status: Abandoned
Brought to you by:
sbigaret
From: Mario R. <ma...@ru...> - 2003-03-26 17:19:20
|
I think Sebastien is waiting for real requests for this todo item, to bump up its priority ;) Look at section 6.3.1 in the users guide... mario > > Is there a way to do a partial dispose. In fact > I have a problem with my EditingContext, as : > - The EC is never disposed to avoid fetching objects > at each web application request. (better performance) > - The only way to stop this is to call a ec.dispose() > but this drop all objects. > > After severals searches, I think the best for me, is > to do a partial dispose . Let's say object that are > in EC older than 10 minutes should be forget. > > Is there any plans to support things like this ? > > I tried to call ec.forgetObject(object) if object > is older than X min, but i get some really strange > AttributeError when i try to access objects that > i have forget. > > > > Thanks for any help :) |