Module OSCCache :: Class OSCDefaultCache
[hide private]
[frames] | no frames]

Class OSCDefaultCache

source code

object --+
         |
        OSCDefaultCache

A basic in-memory cache for simple users

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.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_check_expire(self, ss_uuid, key) 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__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)