class documentation

class DatabaseCache(BaseDatabaseCache):

View In Hierarchy

Undocumented

Method ​_base​_delete​_many Undocumented
Method ​_base​_set Undocumented
Method ​_cull Undocumented
Method add Undocumented
Method clear Undocumented
Method delete Undocumented
Method delete​_many Undocumented
Method get Undocumented
Method get​_many Undocumented
Method has​_key Undocumented
Method set Undocumented
Method touch Undocumented

Inherited from BaseDatabaseCache:

Method __init__ Undocumented
Instance Variable ​_table Undocumented
Instance Variable cache​_model​_class Undocumented
def _base_delete_many(self, keys):

Undocumented

def _base_set(self, mode, key, value, timeout=DEFAULT_TIMEOUT):

Undocumented

def _cull(self, db, cursor, now, num):

Undocumented

def add(self, key, value, timeout=DEFAULT_TIMEOUT, version=None):

Undocumented

def clear(self):

Undocumented

def delete(self, key, version=None):

Undocumented

def delete_many(self, keys, version=None):

Undocumented

def get(self, key, default=None, version=None):

Undocumented

def get_many(self, keys, version=None):

Undocumented

def has_key(self, key, version=None):

Undocumented

def set(self, key, value, timeout=DEFAULT_TIMEOUT, version=None):

Undocumented

def touch(self, key, timeout=DEFAULT_TIMEOUT, version=None):

Undocumented