db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <mccallis...@forthillcompany.com>
Subject Re: FieldCache
Date Thu, 08 Jul 2004 03:53:14 GMT
Speaking of Armin's TwoLevelCache -- I think the secondary cache should 
be configurable, and the two level cache become the default =)

-Brian

On Jul 7, 2004, at 10:48 PM, Brian McCallister wrote:

> Tomorrow or this weekend I plan on implementing a field cache 
> implementation of ObjectCache. It won't hold instantiated objects, 
> just the field values, and structs for refs and collections a la:
>
> cache fields in ObjectEntry
>     references collection entries
>     maintains array of field values
>     maintains array of ReferenceEntry instances
>     maintains array of CollectionEntry instances
>
> cache collections in CollectionEntry
>     knows class it is supposed to really be
>     maintains array of Identity instances
>
> cache references in ReferenceEntry
>     holds identity of referenced object
>
> Need to handle case of proxies correctly
>
> Any thoughts before I implement will be appreciated.
>
> Using this effectively will require armin's TwoLevelCache so that you 
> get effectively PerBroker caching to handle circular refs, but outside 
> of that can use the field cache as the second level. This also makes 
> handling isolation easier without clone().
>
> -brian
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message