Commit 99b45621 authored by Ivan Tyagov's avatar Ivan Tyagov

Initial import of PropertySheets for Cache configuration objects

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11031 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 879bca66
class BaseCachePlugin:
"""
"""
_properties = (
{'id' : 'cache_expire_check_interval',
'description' : 'Cache expire check interval',
'type' : 'int',
'default' : 360,
'mode' : 'w' ,
},)
class CacheFactory:
"""
CacheFactory.
"""
_properties = (
{ 'id' : 'cache_duration',
'description' : 'Cache duration',
'type' : 'int',
'default' : 360,
'mode' : 'w' ,
},
)
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',
},
)
class SQLCachePlugin:
"""
"""
_properties = (
{'id' : 'cache_table_name',
'description' : 'Cache table name',
'type' : 'string',
'default' : 'cache',
},
)
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