Hi,
As Falko indicated, he has UoW's with lots and lots of instances, but
not all of them are actually changed, just used for reads. I would
suggest that we add a UnitOfWorkOptions object that can be put into
either Usecase metainfo or UnitOfWork metainfo, and where there is a
setting "pruneOnPause", which if true (default is false) would clear the
UoW cache of all instances marked as LOADED (i.e. loaded from
EntityStore but not removed or updated). That would allow for a natural
way to keep the size down, over time.
This UnitOfWorkOptions object would also contain the setting for the
previous post, i.e. whether to allow EntityState to have timestamps
after the timestamp of the UoW.
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev