[ZODB-Dev] transaction observer iface

Dieter Maurer dieter at handshake.de
Sat Feb 21 05:02:33 EST 2004


Kapil Thangavelu wrote at 2004-2-20 12:40 -0500:
>i'm interested in implementing an observer interface for transactions,

This is difficult as transactions are usually implicitly created.
Especially the "notifyBegin" seems doubtful in the "implicitly created"
case.

As Shane already pointed out: transactions already support notification
for most of the events listed (not for begin, not for "objectRegistered").
I would not need additional notifications.

If you implement "notifyObjectRegistered", you should ensure
that it does not significantly slows down normal operation (which
has no need for this event).

-- 
Dieter



More information about the ZODB-Dev mailing list