This simple cache provides the basic caching API for via an in-memory
store. No data is persisted, thus it is not available to other
processes.
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
get(self,
ss_uuid,
key)
Retrieve a cached value |
source code
|
|
|
set(self,
ss_uuid,
key,
value,
expire_seconds=30)
Store a cached value for the specified server |
source code
|
|
|
extend(self,
ss_uuid,
key,
extend_seconds)
Extend the expire timeout for a cached value |
source code
|
|
|
clear(self,
ss_uuid)
Clear the cache for the specified server |
source code
|
|
|
read(self,
ss_uuid)
read the entire cache for the specified server |
source code
|
|
|
write(self,
ss_uuid,
data)
write the entire cache for the specified server |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|