flushGroups called too often?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

flushGroups called too often?

Stephan Eggermont-3
MooseAbstractGroup>add: anItem
        self entityStorage add: anItem.
        self privateState flushGroups.
        ^ anItem

Why is the privateState not updated?

Stephan
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: flushGroups called too often?

Tudor Girba-2
I do not understand the question. Could you provide more context?

Doru


On Fri, Sep 20, 2013 at 2:28 PM, Stephan Eggermont <[hidden email]> wrote:
MooseAbstractGroup>add: anItem
        self entityStorage add: anItem.
        self privateState flushGroups.
        ^ anItem

Why is the privateState not updated?

Stephan
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: flushGroups called too often?

Stephan Eggermont-3
In reply to this post by Stephan Eggermont-3
Isn't it possible to update the cache instead of flushing it? Or is it only supposed to be
a very local (in time) cache?

Stephan
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev