[Zodb-checkins] CVS: Zope3/lib/python/ZODB - IConnection.py:1.1.2.2
Jeremy Hylton
jeremy@zope.com
Mon, 11 Mar 2002 11:02:52 -0500
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv23558
Modified Files:
Tag: Zope-3x-branch
IConnection.py
Log Message:
Add invalidate() to IConnection.
=== Zope3/lib/python/ZODB/IConnection.py 1.1.2.1 => 1.1.2.2 ===
XXX Perhaps the db should just be passed to the constructor?
"""
+
+ def invalidate(self, oid):
+ """Invalidate a particular oid
+
+ This marks the oid as invalid, but doesn't actually invalidate
+ it. The object data will be actually invalidated at certain
+ transaction boundaries.
+
+ XXX The code suggests that invalidate() may sometimes be
+ called with None as the oid, which would mean the "entire
+ transaction" is invalidated.
+ """
+