paired down storage interface
This commit is contained in:
parent
a7c0a75b8d
commit
b4ce8133fa
@ -29,12 +29,6 @@ class IStorage(Interface):
|
|||||||
Get given key. If not found, return default.
|
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):
|
def iteritemsOlderThan(secondsOld):
|
||||||
"""
|
"""
|
||||||
Return the an iterator over (key, value) tuples for items older than the given secondsOld.
|
Return the an iterator over (key, value) tuples for items older than the given secondsOld.
|
||||||
|
Loading…
Reference in New Issue
Block a user