Commit a2a34a88 authored by Jim Fulton's avatar Jim Fulton

Added missing len

parent cbf756c7
......@@ -37,6 +37,10 @@ class IClientCache(zope.interface.Interface):
Returns data and serial, or None.
"""
def __len__():
"""Retirn the number of items in the cache.
"""
def store(oid, start_tid, end_tid, data):
"""Store data for the object
......@@ -79,13 +83,6 @@ class IClientCache(zope.interface.Interface):
"""Clear/empty the cache
"""
def contents():
"""Return an [oid, tid] iterator over the (current) cache contents
This is used by cache verification, which has been found to be
a bad idea.
"""
class IServeable(zope.interface.Interface):
"""Interface provided by storages that can be served by ZEO
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment