ElggSharedMemoryCache Class Reference

Shared memory cache description. More...

Inheritance diagram for ElggSharedMemoryCache:
ElggCache ElggMemcache ElggStaticVariableCache

List of all members.

Public Member Functions

 setNamespace ($namespace="default")
 Set the namespace of this cache.
 getNamespace ()
 Get the namespace currently defined.

Detailed Description

Shared memory cache description.

Extends ElggCache with functions useful to shared memory style caches (static variables, memcache etc)

Definition at line 173 of file cache.php.


Member Function Documentation

ElggSharedMemoryCache::getNamespace (  ) 

Get the namespace currently defined.

Returns:
string

Definition at line 196 of file cache.php.

ElggSharedMemoryCache::setNamespace ( namespace = "default"  ) 

Set the namespace of this cache.

This is useful for cache types (like memcache or static variables) where there is one large flat area of memory shared across all instances of the cache.

Parameters:
string $namespace

Definition at line 190 of file cache.php.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations
Generated on Sat May 25 00:01:29 2013 for Elgg by  doxygen 1.6.3