univention.ldap_cache.cache.backend package

class univention.ldap_cache.cache.backend.Caches(db_directory='/usr/share/univention-group-membership-cache/caches')[source]

Bases: object

get_shards_for_query(query)[source]
get_sub_cache(name)[source]
add(klass)[source]
class univention.ldap_cache.cache.backend.Shard(cache)[source]

Bases: object

ldap_filter = None
db_name = None
single_value = False
key = 'entryUUID'
value = None
attributes = []
reverse = False
rm_object(obj)[source]
add_object(obj)[source]
get_values(obj)[source]
get_key(obj)[source]
class univention.ldap_cache.cache.backend.LdapCache(name, single_value, reverse)[source]

Bases: object

add_shard(shard_class)[source]

Submodules

univention.ldap_cache.cache.backend.gdbm_cache module

class univention.ldap_cache.cache.backend.gdbm_cache.GdbmCaches(db_directory='/usr/share/univention-group-membership-cache/caches')[source]

Bases: univention.ldap_cache.cache.backend.Caches

class univention.ldap_cache.cache.backend.gdbm_cache.GdbmCache(*args, **kwargs)[source]

Bases: univention.ldap_cache.cache.backend.LdapCache

writing(writer=None)[source]
reading(writer=None)
save(key, values)[source]
clear()[source]
cleanup()[source]
delete(key, values, writer=None)[source]
get(key, reader=None)[source]
load()[source]
class univention.ldap_cache.cache.backend.gdbm_cache.GdbmShard(cache)[source]

Bases: univention.ldap_cache.cache.backend.Shard

key = 'dn'

univention.ldap_cache.cache.backend.lmdb_cache module