Difference between revisions of "JCacheStorageMemcache"
From Joomla! Documentation
(Layout updates) |
m (moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} 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> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::__construct | + | |public |
+ | |[[API17:JCacheStorageMemcache::__construct|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::clean | + | |public |
+ | |[[API17:JCacheStorageMemcache::clean|clean]] | ||
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::get | + | |public |
+ | |[[API17:JCacheStorageMemcache::get|get]] | ||
|Get cached data from memcache by id and group. | |Get cached data from memcache by id and group. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::getAll | + | |public |
+ | |[[API17:JCacheStorageMemcache::getAll|getAll]] | ||
|Get all cached data. | |Get all cached data. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::lock | + | |public |
+ | |[[API17:JCacheStorageMemcache::lock|lock]] | ||
|Lock cached item - override parent as this is more efficient. | |Lock cached item - override parent as this is more efficient. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::remove | + | |public |
+ | |[[API17:JCacheStorageMemcache::remove|remove]] | ||
|Remove a cached data entry by id and group. | |Remove a cached data entry by id and group. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::store | + | |public |
+ | |[[API17:JCacheStorageMemcache::store|store]] | ||
|Store the data to memcache by id and group. | |Store the data to memcache by id and group. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::unlock | + | |public |
+ | |[[API17:JCacheStorageMemcache::unlock|unlock]] | ||
|Unlock cached item - override parent for cacheid compatibility with lock. | |Unlock cached item - override parent for cacheid compatibility with lock. | ||
|- | |- | ||
− | |[[JCacheStorageMemcache::test | + | |public static |
+ | |[[API17:JCacheStorageMemcache::test|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''' [[API17:JCacheStorage|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=== | ||
− | * JCacheStorageMemcache source code | + | * {{JVer|11.1}} '''JCacheStorageMemcache source code''' on [[jplatform:cache/storage/memcache.php|BitBucket]] |
− | * [[JCacheStorageMemcache|Other versions of | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]] |
+ | * [[API17:JCacheStorageMemcache|Other versions of JCacheStorageMemcache]] | ||
{{SeeAlso: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> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 63: | Line 70: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 19:53, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JCacheStorageMemcache[edit]
Description[edit]
Template:Description:JCacheStorageMemcache [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.cache.storage.memcache' );
See also[edit]
- JCacheStorageMemcache source code on BitBucket
- Subpackage Cache
- Other versions of JCacheStorageMemcache
Template:SeeAlso:JCacheStorageMemcache [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />