[Erp5-report] r11031 - /erp5/trunk/products/ERP5Type/PropertySheet/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Nov 1 11:04:14 CET 2006


Author: ivan
Date: Wed Nov  1 11:04:07 2006
New Revision: 11031

URL: http://svn.erp5.org?rev=11031&view=rev
Log:
Initial import of PropertySheets for Cache configuration objects

Added:
    erp5/trunk/products/ERP5Type/PropertySheet/BaseCachePlugin.py
    erp5/trunk/products/ERP5Type/PropertySheet/CacheFactory.py
    erp5/trunk/products/ERP5Type/PropertySheet/DistributedRamCachePlugin.py
    erp5/trunk/products/ERP5Type/PropertySheet/SQLCachePlugin.py

Added: erp5/trunk/products/ERP5Type/PropertySheet/BaseCachePlugin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/BaseCachePlugin.py?rev=11031&view=auto
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/BaseCachePlugin.py (added)
+++ erp5/trunk/products/ERP5Type/PropertySheet/BaseCachePlugin.py Wed Nov  1 11:04:07 2006
@@ -1,0 +1,12 @@
+class BaseCachePlugin:
+  """
+  """
+
+  _properties = (  
+        {'id'          : 'cache_expire_check_interval',
+         'description' : 'Cache expire check interval',
+         'type'        : 'int',
+         'default'     :  360,
+         'mode'        : 'w' ,
+        },)
+

Added: erp5/trunk/products/ERP5Type/PropertySheet/CacheFactory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/CacheFactory.py?rev=11031&view=auto
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/CacheFactory.py (added)
+++ erp5/trunk/products/ERP5Type/PropertySheet/CacheFactory.py Wed Nov  1 11:04:07 2006
@@ -1,0 +1,13 @@
+class CacheFactory:
+  """
+  CacheFactory. 
+  """
+
+  _properties = (
+        {   'id'          : 'cache_duration',
+            'description' : 'Cache duration',
+            'type'        : 'int',
+            'default'     : 360,
+            'mode'        : 'w' ,
+        },
+    )

Added: erp5/trunk/products/ERP5Type/PropertySheet/DistributedRamCachePlugin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/DistributedRamCachePlugin.py?rev=11031&view=auto
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/DistributedRamCachePlugin.py (added)
+++ erp5/trunk/products/ERP5Type/PropertySheet/DistributedRamCachePlugin.py Wed Nov  1 11:04:07 2006
@@ -1,0 +1,12 @@
+class DistributedRamCachePlugin:
+  """
+  """
+
+  _properties = (        
+        {'id'          : 'server',
+         'description' : 'Memcached server address( you can specify multiple servers by separating them with ;)',
+         'type'        : 'string',
+         'default'     : '127.0.0.1:11211',
+        },
+        )
+

Added: erp5/trunk/products/ERP5Type/PropertySheet/SQLCachePlugin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/SQLCachePlugin.py?rev=11031&view=auto
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/SQLCachePlugin.py (added)
+++ erp5/trunk/products/ERP5Type/PropertySheet/SQLCachePlugin.py Wed Nov  1 11:04:07 2006
@@ -1,0 +1,11 @@
+class SQLCachePlugin:
+  """
+  """
+
+  _properties = (  
+        {'id'          : 'cache_table_name',
+         'description' : 'Cache table name',
+         'type'        : 'string',
+         'default'     : 'cache',
+        },
+        )




More information about the Erp5-report mailing list