[Zope-CVS] CVS: Products/AdaptableStorage/mapper/interfaces - IConfigurableObjectMapper.py:1.3 IObjectMapper.py:1.2
Shane Hathaway
shane@zope.com
Thu, 6 Feb 2003 14:09:24 -0500
Update of /cvs-repository/Products/AdaptableStorage/mapper/interfaces
In directory cvs.zope.org:/tmp/cvs-serv3319/mapper/interfaces
Modified Files:
IConfigurableObjectMapper.py IObjectMapper.py
Log Message:
Removed the volatile object mapper feature. Setting the cache_size to 0
is simpler and faster, and although volatile mappers provide more
fine-grained control over caching, they don't seem to be needed for now.
To bring the feature back, do this:
cvs up -j without-volatile-mappers -j with-volatile-mappers
=== Products/AdaptableStorage/mapper/interfaces/IConfigurableObjectMapper.py 1.2 => 1.3 ===
--- Products/AdaptableStorage/mapper/interfaces/IConfigurableObjectMapper.py:1.2 Mon Jan 6 18:17:46 2003
+++ Products/AdaptableStorage/mapper/interfaces/IConfigurableObjectMapper.py Thu Feb 6 14:08:51 2003
@@ -35,9 +35,6 @@
def setKeychainGenerator(k):
"""Sets the IKeychainGenerator for subobjects."""
- def setVolatile(v):
- """Sets the volatile flag for this mapper."""
-
def addSubMapper(name, m=None, replace=0):
"""Adds a named sub-IObjectMapper, returning the mapper added.
=== Products/AdaptableStorage/mapper/interfaces/IObjectMapper.py 1.1 => 1.2 ===
--- Products/AdaptableStorage/mapper/interfaces/IObjectMapper.py:1.1 Tue Dec 31 16:47:46 2002
+++ Products/AdaptableStorage/mapper/interfaces/IObjectMapper.py Thu Feb 6 14:08:51 2003
@@ -50,6 +50,3 @@
or gateway needs this, it's safe to return None.
"""
- def isVolatile():
- """Returns true if objects should last only one transaction."""
-