[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/cache - ram.py:1.4

Guido van Rossum guido@python.org
Thu, 24 Apr 2003 17:01:56 -0400


Update of /cvs-repository/Zope3/src/zope/app/interfaces/cache
In directory cvs.zope.org:/tmp/cvs-serv30948/app/interfaces/cache

Modified Files:
	ram.py 
Log Message:
Improve cache object configuration.  Still to do: simplify the cache
manager's main view.


=== Zope3/src/zope/app/interfaces/cache/ram.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/cache/ram.py:1.3	Mon Dec 30 09:03:12 2002
+++ Zope3/src/zope/app/interfaces/cache/ram.py	Thu Apr 24 17:01:25 2003
@@ -11,14 +11,18 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-"""
+"""RAM cache interface.
+
 $Id$
 """
+
+from zope.interface import Attribute
+
 from zope.app.interfaces.cache.cache import ICache
 from zope.app.interfaces.event import ISubscriber
-from zope.interface import Attribute
+from zope.app.interfaces.services.configuration import IUseConfigurable
 
-class IRAMCache(ICache, ISubscriber):
+class IRAMCache(ICache, ISubscriber, IUseConfigurable):
     """Interface for the RAM Cache."""
 
     maxEntries = Attribute("""A maximum number of cached values.""")