Actions

API17

Difference between revisions of "JCacheStorageMemcache"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/cache/storage/memcache.php
 
libraries/joomla/cache/storage/memcache.php
 +
* see source code in [[jplatform:cache/storage/memcache.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Cache/11.1|Cache]]
 
[[Subpackage Cache/11.1|Cache]]
Line 48: Line 49:
 
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>
 
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>
 
===See also===
 
===See also===
 +
* JCacheStorageMemcache source code in [[jplatform:cache/storage/memcache.php|BitBucket]]
 
* [[JCacheStorageMemcache|Other versions of this class]]
 
* [[JCacheStorageMemcache|Other versions of this class]]
 
{{SeeAlso:JCacheStorageMemcache}}
 
{{SeeAlso:JCacheStorageMemcache}}

Revision as of 16:50, 23 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

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

Defined in

libraries/joomla/cache/storage/memcache.php

Subpackage

Cache

Extends

JCacheStorage

Extended by

Methods

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

Importing

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

See also

SeeAlso:JCacheStorageMemcache [Edit See Also]

Examples

<CodeExamplesForm />