[ZODB-Dev] Invalidations

Tim Peters tim at zope.com
Tue Apr 26 20:20:52 EDT 2005


[Rajeev J Sebastian]
> Is there some means provided by ZODB/Zeo by which I can get notified
> about changes to certain objects after performing sync() ?

There is not.  Object state is loaded by calling its __setstate__() method,
and you may be able to hack something out of that, but you would need a good
understanding of the implementation to do more good than harm playing at
that level.

> Also, is it possible to have sync() run automatically (ie, without me
> calling it after a timeout) ?

ZEO is intended to be run with an asyncore mainloop running too.  There was
a thread about that here just last week, starting here:

    http://mail.zope.org/pipermail/zodb-dev/2005-April/008722.html




More information about the ZODB-Dev mailing list