|
|
__init__(self,
params)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
add(self,
key,
value,
timeout=None)
Set a value in the cache if the key does not already exist. |
source code
|
|
|
|
get(self,
key,
default=None)
Fetch a given key from the cache. |
source code
|
|
|
|
set(self,
key,
value,
timeout=None)
Set a value in the cache. |
source code
|
|
|
|
delete(self,
key)
Delete a key from the cache, failing silently. |
source code
|
|
|
|
|
|
|
has_key(self,
key)
Returns True if the key is in the cache and has not expired. |
source code
|
|
|
|
__contains__(self,
key)
Returns True if the key is in the cache and has not expired. |
source code
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|