Difference between revisions of "JCacheStorageApc"
From Joomla! Documentation
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JCacheStorageApc== | ||
+ | ===Description=== | ||
+ | {{Description:JCacheStorageApc}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JCacheStorageApc|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheStorageApc|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::clean/11.1|clean]] | |[[JCacheStorageApc::clean/11.1|clean]] | ||
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::gc/11.1|gc]] | |[[JCacheStorageApc::gc/11.1|gc]] | ||
|Force garbage collect expired cache data as items are removed only on fetch! | |Force garbage collect expired cache data as items are removed only on fetch! | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::get/11.1|get]] | |[[JCacheStorageApc::get/11.1|get]] | ||
|Get cached data from APC by id and group. | |Get cached data from APC by id and group. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::getAll/11.1|getAll]] | |[[JCacheStorageApc::getAll/11.1|getAll]] | ||
|Get all cached data. | |Get all cached data. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::lock/11.1|lock]] | |[[JCacheStorageApc::lock/11.1|lock]] | ||
|Lock cached item - override parent as this is more efficient. | |Lock cached item - override parent as this is more efficient. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::remove/11.1|remove]] | |[[JCacheStorageApc::remove/11.1|remove]] | ||
|Remove a cached data entry by id and group. | |Remove a cached data entry by id and group. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::store/11.1|store]] | |[[JCacheStorageApc::store/11.1|store]] | ||
|Store the data to APC by id and group. | |Store the data to APC by id and group. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageApc::unlock/11.1|unlock]] | |[[JCacheStorageApc::unlock/11.1|unlock]] | ||
|Unlock cached item - override parent for cacheid compatibility with lock. | |Unlock cached item - override parent for cacheid compatibility with lock. | ||
|- | |- | ||
+ | |public static | ||
|[[JCacheStorageApc::test/11.1|test]] | |[[JCacheStorageApc::test/11.1|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/apc.php | ||
+ | * '''Extends''' [[JCacheStorage/11.1|JCacheStorage]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.storage.apc' );</source> | <source lang="php">jimport( 'joomla.cache.storage.apc' );</source> | ||
===See also=== | ===See also=== | ||
− | * JCacheStorageApc source code | + | * {{JVer|11.1}} '''JCacheStorageApc source code''' on [[jplatform:cache/storage/apc.php|BitBucket]] |
− | * [[JCacheStorageApc|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]] |
+ | * [[JCacheStorageApc|Other versions of JCacheStorageApc]] | ||
{{SeeAlso:JCacheStorageApc}} | {{SeeAlso:JCacheStorageApc}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageApc|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheStorageApc|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>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheStorageApc]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCacheStorageApc]]</noinclude> |
Revision as of 13:31, 29 August 2012
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.
JCacheStorageApc[edit]
Description[edit]
Template:Description:JCacheStorageApc [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | clean | Clean cache for a group given a mode. |
public | gc | Force garbage collect expired cache data as items are removed only on fetch! |
public | get | Get cached data from APC 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 APC 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/apc.php
- Extends JCacheStorage
Importing[edit]
jimport( 'joomla.cache.storage.apc' );
See also[edit]
- JCacheStorageApc source code on BitBucket
- Subpackage Cache
- Other versions of JCacheStorageApc
Template:SeeAlso:JCacheStorageApc [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />