Home | Trees | Indices | Help |
|
---|
|
object --+ | GlobalMemcache
|
|||
|
|||
list |
|
||
|
|||
Memcache |
|
||
TransparentCacheDecorator |
|
||
callable |
|
||
str |
|
||
Inherited from |
|
|||
callable |
_create Memcache wrapper creator |
||
int |
_max_age Globally configured max age |
||
MemcacheWrapper or Memcache |
_mc Default memcache wrapper |
||
tuple |
_pools Pool list |
|
|||
Inherited from |
|
|
Determine pool status Each status is a dict {'spec': 'spec', 'alive': bool, 'weight': int}.
|
Shutdown the memcache pools The pools are no longer usable after that. This is for final application shutdown. Don't use it in the application itself! |
Create a memcache connector Although the method name suggests it, the method doesn't actually connect. The connection is selected by key later when using the connector to actually do something.
|
Cache the function transparently Recognized keyword parameters:
|
Inject a new connector into function's arguments The method takes either one positional argument (the function to decorate) or keyword arguments which override default options:
|
Default key preparator The input key is assumed to be a string and is just MD5 hashed. The hexdigest is the resulting key then.
|
Home | Trees | Indices | Help |
|
---|