API15

JCacheStorageMemcache: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 41: Line 41:




{{subst:SeeAlso:JCacheStorageMemcache}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JCacheStorageMemcache
  category=JCacheStorageMemcache
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 00:22, 25 March 2017

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

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' );



Examples

Code Examples