41 static $caches = array();
48 if (!isset($caches[$namespace])) {
49 $caches[$namespace] =
new ElggMemcache($namespace, $cache_pool);
51 return $caches[$namespace];
_elgg_get_memcache($namespace= 'default')
Get a namespaced ElggMemcache object (if memcache is available) or a null cache.
_elgg_invalidate_memcache_for_entity($entity_guid)
Invalidate an entity in memcache.
is_memcache_available()
Return true if memcache is available and configured.
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.