Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
a2a34a88
Commit
a2a34a88
authored
Jan 17, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing len
parent
cbf756c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
src/ZEO/interfaces.py
src/ZEO/interfaces.py
+4
-7
No files found.
src/ZEO/interfaces.py
View file @
a2a34a88
...
...
@@ -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
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment