Actions

API16

Difference between revisions of "JCacheStorageMemcache"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JCacheStorageMemcache}...)
 
 
Line 39: Line 39:
 
|Test to see if the cache storage is available.
 
|Test to see if the cache storage is available.
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>
 
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>

Latest revision as of 04:02, 30 March 2010

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.

Contents

Defined in

libraries/joomla/cache/storage/memcache.php

Methods

Method name Description
__construct Constructor
get Get cached data from memcache by id and group
store Store the data to memcache by id and group
remove Remove a cached data entry by id and group
clean Clean cache for a group given a mode.
gc Garbage collect expired cache data
getConnection return memcache connection object
getConfig Return memcache related configuration
test Test to see if the cache storage is available.

Importing

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

[Edit See Also] SeeAlso:JCacheStorageMemcache

Examples

<CodeExamplesForm />