API17

JCacheStorageMemcache: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 56: Line 56:
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
* [[API17:JCacheStorageMemcache|Other versions of JCacheStorageMemcache]]
* [[API17:JCacheStorageMemcache|Other versions of JCacheStorageMemcache]]
{{subst:SeeAlso:JCacheStorageMemcache}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JCacheStorageMemcache
category=JCacheStorageMemcache
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*

Latest revision as of 02:27, 25 March 2017

Joomla 11.1 JCacheStorageMemcache

Description

JCacheStorageMemcache is a concrete cache storage handler, using the Memcached caching system. See also the PHP Memcache Manual.

Methods

Visibility Method name Description
public __construct Constructor.
public clean Clean cache for a group given a mode.
public get Get cached data from memcache by id and group.
public getAll Get all cached data.
public lock Lock cached item - override parent as this is more efficient.
public remove Remove a cached data entry by id and group.
public store Store the data to memcache by id and group.
public unlock Unlock cached item - override parent for cacheid compatibility with lock.
public static test Test to see if the cache storage is available.
  • Defined in libraries/joomla/cache/storage/memcache.php
  • Extends JCacheStorage

Importing

jimport( 'joomla.cache.storage.memcache' );

See also


User contributed notes

Code Examples