API17:JCacheStorageEaccelerator
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JCacheStorageEaccelerator== | ||
| + | ===Description=== | ||
| + | {{Description:JCacheStorageEaccelerator}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JCacheStorageEaccelerator|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheStorageEaccelerator|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::__construct/11.1|__construct]] | |[[JCacheStorageEaccelerator::__construct/11.1|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::clean/11.1|clean]] | |[[JCacheStorageEaccelerator::clean/11.1|clean]] | ||
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::gc/11.1|gc]] | |[[JCacheStorageEaccelerator::gc/11.1|gc]] | ||
|Garbage collect expired cache data. | |Garbage collect expired cache data. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::get/11.1|get]] | |[[JCacheStorageEaccelerator::get/11.1|get]] | ||
|Get cached data by id and group. | |Get cached data by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::getAll/11.1|getAll]] | |[[JCacheStorageEaccelerator::getAll/11.1|getAll]] | ||
|Get all cached data. | |Get all cached data. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::lock/11.1|lock]] | |[[JCacheStorageEaccelerator::lock/11.1|lock]] | ||
|Lock cached item. | |Lock cached item. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::remove/11.1|remove]] | |[[JCacheStorageEaccelerator::remove/11.1|remove]] | ||
|Remove a cached data entry by id and group. | |Remove a cached data entry by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::store/11.1|store]] | |[[JCacheStorageEaccelerator::store/11.1|store]] | ||
|Store the data to by id and group. | |Store the data to by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::unlock/11.1|unlock]] | |[[JCacheStorageEaccelerator::unlock/11.1|unlock]] | ||
|Unlock cached item. | |Unlock cached item. | ||
|- | |- | ||
| + | |public static | ||
|[[JCacheStorageEaccelerator::test/11.1|test]] | |[[JCacheStorageEaccelerator::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/eaccelerator.php | ||
| + | * '''Extends''' [[JCacheStorage/11.1|JCacheStorage]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.storage.eaccelerator' );</source> | <source lang="php">jimport( 'joomla.cache.storage.eaccelerator' );</source> | ||
===See also=== | ===See also=== | ||
| − | * JCacheStorageEaccelerator source code | + | * {{JVer|11.1}} '''JCacheStorageEaccelerator source code''' on [[jplatform:cache/storage/eaccelerator.php|BitBucket]] |
| − | * [[JCacheStorageEaccelerator|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]] |
| + | * [[JCacheStorageEaccelerator|Other versions of JCacheStorageEaccelerator]] | ||
{{SeeAlso:JCacheStorageEaccelerator}} | {{SeeAlso:JCacheStorageEaccelerator}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageEaccelerator|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheStorageEaccelerator|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 66: | Line 74: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheStorageEaccelerator]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCacheStorageEaccelerator]]</noinclude> |
Revision as of 13:31, 29 August 2012
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.
JCacheStorageEaccelerator
Description
JCacheStorageEaccelarator is a concrete cache storage handler using eAccelerator. [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | clean | Clean cache for a group given a mode. |
| public | gc | Garbage collect expired cache data. |
| public | get | Get cached data by id and group. |
| public | getAll | Get all cached data. |
| public | lock | Lock cached item. |
| public | remove | Remove a cached data entry by id and group. |
| public | store | Store the data to by id and group. |
| public | unlock | Unlock cached item. |
| public static | test | Test to see if the cache storage is available. |
- Defined in libraries/joomla/cache/storage/eaccelerator.php
- Extends JCacheStorage
Importing
jimport( 'joomla.cache.storage.eaccelerator' );
See also
-
JCacheStorageEaccelerator source code on BitBucket
-
Subpackage Cache
- Other versions of JCacheStorageEaccelerator
SeeAlso:JCacheStorageEaccelerator [Edit See Also]
User contributed notes
<CodeExamplesForm />
