paired down storage interface

This commit is contained in:
Brian Muller 2014-12-09 17:02:48 -05:00
parent a7c0a75b8d
commit b4ce8133fa

View File

@ -29,12 +29,6 @@ class IStorage(Interface):
Get given key. If not found, return default.
"""
def __iter__():
"""
Get the iterator for this storage, should yield tuple of (key, (birth, value))
where birth is the float timestamp when the value was set.
"""
def iteritemsOlderThan(secondsOld):
"""
Return the an iterator over (key, value) tuples for items older than the given secondsOld.