JCacheStorageMemcache/1.5

From Joomla! Documentation
< JCacheStorageMemcache(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
(Layout updates)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} JCacheStorageMemcache==
 +
===Description===
 +
{{Description:JCacheStorageMemcache}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheStorageMemcache|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCacheStorageMemcache|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JCacheStorageMemcache}}
 
===Defined in===
 
libraries/joomla/cache/storage/memcache.php
 
===Subpackage===
 
[[Subpackage Cache/1.5|Cache]]
 
===Extends===
 
[[JCacheStorage/1.5|JCacheStorage]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::__construct/1.5|__construct]]
 
|[[JCacheStorageMemcache::__construct/1.5|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::_getCacheId/1.5|_getCacheId]]
 
|[[JCacheStorageMemcache::_getCacheId/1.5|_getCacheId]]
 
|Get a cache_id string from an id/group pair.  
 
|Get a cache_id string from an id/group pair.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::clean/1.5|clean]]
 
|[[JCacheStorageMemcache::clean/1.5|clean]]
 
|Clean cache for a group given a mode.  
 
|Clean cache for a group given a mode.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::gc/1.5|gc]]
 
|[[JCacheStorageMemcache::gc/1.5|gc]]
 
|Garbage collect expired cache data.  
 
|Garbage collect expired cache data.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::get/1.5|get]]
 
|[[JCacheStorageMemcache::get/1.5|get]]
 
|Get cached data from memcache by id and group.  
 
|Get cached data from memcache by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::remove/1.5|remove]]
 
|[[JCacheStorageMemcache::remove/1.5|remove]]
 
|Remove a cached data entry by id and group.  
 
|Remove a cached data entry by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::store/1.5|store]]
 
|[[JCacheStorageMemcache::store/1.5|store]]
 
|Store the data to memcache by id and group.  
 
|Store the data to memcache by id and group.  
 
|-
 
|-
 +
|public 
 
|[[JCacheStorageMemcache::getConfig/1.5|getConfig]]
 
|[[JCacheStorageMemcache::getConfig/1.5|getConfig]]
 
|Return memcache related configuration.  
 
|Return memcache related configuration.  
 
|-
 
|-
 +
|public 
 
|[[JCacheStorageMemcache::getConnection/1.5|getConnection]]
 
|[[JCacheStorageMemcache::getConnection/1.5|getConnection]]
 
|return memcache connection object  
 
|return memcache connection object  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageMemcache::test/1.5|test]]
 
|[[JCacheStorageMemcache::test/1.5|test]]
 
|Test to see if the cache storage is available.  
 
|Test to see if the cache storage is available.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/cache/storage/memcache.php
 +
* '''Extends''' [[JCacheStorage/1.5|JCacheStorage]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>
 
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>
 
===See also===
 
===See also===
 +
* {{JVer|1.5}} '''JCacheStorageMemcache''' on [http://api.joomla.org/Joomla-Framework/Cache/JCacheStorageMemcache.html api.joomla.org]
 +
* {{JVer|1.5}} '''JCacheStorageMemcache source code''' on [[jframework15:cache/storage/memcache.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage Cache/1.5|Cache]]
 +
* [[JCacheStorageMemcache|Other versions of JCacheStorageMemcache]]
 +
{{SeeAlso:JCacheStorageMemcache}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageMemcache|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageMemcache|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JCacheStorageMemcache}}
+
===User contributed notes===
* [[JCacheStorageMemcache|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/Cache/JCacheStorageMemcache.html JCacheStorageMemcache on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 65: Line 75:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageMemcache]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageMemcache]]</noinclude>

Revision as of 18:06, 25 April 2011

Joomla 1.5 JCacheStorageMemcache

Description

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

Methods

Visibility Method name Description
public __construct Constructor.
public _getCacheId Get a cache_id string from an id/group pair.
public clean Clean cache for a group given a mode.
public gc Garbage collect expired cache data.
public get Get cached data from memcache by id and group.
public remove Remove a cached data entry by id and group.
public store Store the data to memcache by id and group.
public getConfig Return memcache related configuration.
public getConnection return memcache connection object
public 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

SeeAlso:JCacheStorageMemcache [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox