An eXist CacheManager object.
Base Classes
|
|
OFS.ObjectManager.ObjectManager
Persistent
Acquisition.Implicit
AccessControl.Role.RoleManager
App.Management.Navigation
|
Methods
|
|
__init__
getDoc
manage_edit
|
|
__init__
|
__init__ (
self,
id,
title,
storage=utils.DEFAULT_CACHEMANAGER_TYPE,
path=None,
maxSize=DEFAULT_CACHE_MAXSIZE,
)
Initialization of the eXistDACacheManager object.
Exceptions
|
|
utils.EXC_NOT_CACHE_TYPE
utils.EXC_NOT_DIR
|
|
|
getDoc
|
getDoc (
self,
da,
xml,
xsl=None,
**kws,
)
Gets a document in the cache, or in the DB if it's not in cache.
da : the DA which is calling the CacheManager
xml : the XML document. It can be an HTTP URI, an eXist URI, a file-like object or a string
xsl : the XSL document. It can be an HTTP URI, an eXist URI, a file-like object or a string
kws : 0, 1 or more parameters that modify the output document. The names aren't important.
|
|
manage_edit
|
manage_edit (
self,
title="",
storage=utils.DEFAULT_CACHEMANAGER_TYPE,
path=None,
maxSize=utils.DEFAULT_CACHE_MAXSIZE,
REQUEST=None,
)
Change values of parameters
|
|