Commit 5bc399bf authored by Jim Fulton's avatar Jim Fulton

rearranged method order.

parent 10310e0d
...@@ -324,6 +324,12 @@ class IStorageDB(Interface): ...@@ -324,6 +324,12 @@ class IStorageDB(Interface):
there would be so many that it would be inefficient to do so. there would be so many that it would be inefficient to do so.
""" """
def invalidate(transaction_id, oids, version=''):
"""Invalidate object ids committed by the given transaction
The oids argument is an iterable of object identifiers.
"""
def references(record, oids=None): def references(record, oids=None):
"""Scan the given record for object ids """Scan the given record for object ids
...@@ -332,12 +338,6 @@ class IStorageDB(Interface): ...@@ -332,12 +338,6 @@ class IStorageDB(Interface):
be created and returned. be created and returned.
""" """
def invalidate(transaction_id, oids, version=''):
"""Invalidate object ids committed by the given transaction
The oids argument is an iterable of object identifiers.
"""
class IDatabase(IStorageDB): class IDatabase(IStorageDB):
"""ZODB DB. """ZODB DB.
......
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