[Zodb-checkins] CVS: Zope3/src/zodb - interfaces.py:1.10.2.1
Jeremy Hylton
jeremy@zope.com
Sat, 1 Mar 2003 21:34:56 -0500
Update of /cvs-repository/Zope3/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv18894/src/zodb
Modified Files:
Tag: jeremy-atomic-invalidation-branch
interfaces.py
Log Message:
New invalidation API.
The begin_ and finish_invalidation() methods are no longer needed.
Change invalidate() to take a set of oids instead of just one.
=== Zope3/src/zodb/interfaces.py 1.10 => 1.10.2.1 ===
--- Zope3/src/zodb/interfaces.py:1.10 Thu Feb 27 15:11:47 2003
+++ Zope3/src/zodb/interfaces.py Sat Mar 1 21:34:52 2003
@@ -259,19 +259,10 @@
class IDatabase(Interface):
"""Interface between the database and its connections."""
- # XXX This interface needs to be redesigned, so I'm not going to
- # bother documenting the current interface.
-
- def begin_invalidation():
- pass
-
- def invalidate(oid, conn):
- pass
-
- def finish_invalidation():
+ def invalidate(oids, conn=None, version=""):
pass
- def _closeConnection():
+ def connectionClose(conn):
pass