Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Classes

  • ElggCache
  • ElggLRUCache
  • ElggSharedMemoryCache
  • ElggStaticVariableCache
  • ElggVolatileMetadataCache
  • Overview
  • Package
  • Class
  • Tree

Class ElggSharedMemoryCache

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

ElggCache implements ArrayAccess
Extended by ElggSharedMemoryCache

Direct known subclasses

ElggMemcache, ElggStaticVariableCache
Abstract
Package: Elgg\Core\Cache
Located at ElggSharedMemoryCache.php
Methods summary
public
# setNamespace( string $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.

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

$namespace
string
$namespace Namespace for cache
public string
# getNamespace( )

Get the namespace currently defined.

Get the namespace currently defined.

Returns

string
Methods inherited from ElggCache
__construct(), __get(), __isset(), __set(), __unset(), add(), clear(), delete(), getVariable(), load(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), save(), setVariable()
API documentation generated by ApiGen 2.8.0