| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
CacheAbstract --+
|
CacheInRam
Ram based caching
This is implemented as global (per process, shared by all threads) dictionary. A mutex-lock mechanism avoid conflicts.
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
locker = <thread.lock object at 0x2af5f8c49288>
|
|||
meta_storage =
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Paremeters
----------
request:
the global request object
|
Clears the cache of all keys that match the provided regular expression.
If no regular expression is provided, it clears all entries in cache.
Parameters
----------
regex:
if provided, only keys matching the regex will be cleared.
Otherwise all keys are cleared.
|
Increments the cached value for the given key by the amount in value
Parameters
----------
key:
key for the cached object to be incremeneted
value:
amount of the increment (defaults to 1, can be negative)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sun Mar 4 22:11:58 2012 | http://epydoc.sourceforge.net |