[ZODB-Dev] ZODB and ORBit-Python problems
Jim Fulton
jim@digicool.com
Sat, 19 May 2001 10:51:50 -0400
Christian Robottom Reis wrote:
>
> On Fri, 18 May 2001, Jim Fulton wrote:
>
> > A persistent object may have multiple copies in memory. Each database
> > connection can have a copy of the object. Each copy has it's own address.
> > All references to an object in a connection point to the same object.
> > This is the only guarantee.
>
> Does that mean that when an object is evicted from the cache, it reference
> stays taken by a placeholder? Or are all references to it updated
> automatically (gasp)?
An object is never evicted from the cache while there are any references to it.
Note that an object may be in the cache, but be a ghost, meaning that it contains
no state.
Jim
--
Jim Fulton mailto:jim@digicool.com Python Powered!
Technical Director (888) 344-4332 http://www.python.org
Digital Creations http://www.digicool.com http://www.zope.org