[Zodb-checkins] CVS: Packages/ZEO - ClientCache.py:1.14.4.1

[email protected] [email protected]
Thu, 29 Mar 2001 16:31:58 -0500 (EST)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv19284

Modified Files:
      Tag: ZEO-ZRPC-Dev
	ClientCache.py 
Log Message:
Add some notes about planned redesign of ClientCache



--- Updated File ClientCache.py in package Packages/ZEO --
--- ClientCache.py	2000/12/11 18:02:13	1.14
+++ ClientCache.py	2001/03/29 21:31:57	1.14.4.1
@@ -211,6 +211,8 @@
         self._current=current
 
     def open(self):
+         # XXX open is overloaded to perform two tasks for
+         # optimization reasons  
         self._acquire()
         try:
             self._index=index={}
@@ -224,6 +226,12 @@
 
             return serial.items()
         finally: self._release()
+
+    def verify(self, verifyFunc):
+        """Call the verifyFunc on every object in the cache.
+
+        verifyFunc(oid, serialno, version)
+        """
 
     def invalidate(self, oid, version):
         self._acquire()