JCacheStorageEaccelerator/1.5
From Joomla! Documentation
< JCacheStorageEaccelerator(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→See also: fixing link to API) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} 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/1.5|__construct]] | |[[JCacheStorageEaccelerator::__construct/1.5|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::_getCacheId/1.5|_getCacheId]] | |[[JCacheStorageEaccelerator::_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 | ||
|[[JCacheStorageEaccelerator::_setExpire/1.5|_setExpire]] | |[[JCacheStorageEaccelerator::_setExpire/1.5|_setExpire]] | ||
|Set expire time on each call since memcache sets it on cache creation. | |Set expire time on each call since memcache sets it on cache creation. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::clean/1.5|clean]] | |[[JCacheStorageEaccelerator::clean/1.5|clean]] | ||
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::gc/1.5|gc]] | |[[JCacheStorageEaccelerator::gc/1.5|gc]] | ||
|Garbage collect expired cache data. | |Garbage collect expired cache data. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::get/1.5|get]] | |[[JCacheStorageEaccelerator::get/1.5|get]] | ||
|Get cached data by id and group. | |Get cached data by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::remove/1.5|remove]] | |[[JCacheStorageEaccelerator::remove/1.5|remove]] | ||
|Remove a cached data entry by id and group. | |Remove a cached data entry by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::store/1.5|store]] | |[[JCacheStorageEaccelerator::store/1.5|store]] | ||
|Store the data to by id and group. | |Store the data to by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageEaccelerator::test/1.5|test]] | |[[JCacheStorageEaccelerator::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/eaccelerator.php | ||
| + | * '''Extends''' [[JCacheStorage/1.5|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=== | ||
| + | * {{JVer|1.5}} '''JCacheStorageEaccelerator''' on [http://api.joomla.org/1.5/Joomla-Framework/Cache/JCacheStorageEaccelerator.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JCacheStorageEaccelerator source code''' on [[jframework15:cache/storage/eaccelerator.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage Cache/1.5|Cache]] | ||
| + | * [[JCacheStorageEaccelerator|Other versions of 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 62: | Line 71: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageEaccelerator]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageEaccelerator]]</noinclude> | ||
Latest revision as of 14:15, 13 February 2013
[edit]
JCacheStorageEaccelerator
[edit] Description
JCacheStorageEaccelarator is a concrete cache storage handler using eAccelerator. [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _getCacheId | Get a cache_id string from an id/group pair. |
| public | _setExpire | Set expire time on each call since memcache sets it on cache creation. |
| 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 | remove | Remove a cached data entry by id and group. |
| public | store | Store the data to by id and group. |
| public | test | Test to see if the cache storage is available. |
- Defined in libraries/joomla/cache/storage/eaccelerator.php
- Extends JCacheStorage
[edit] Importing
jimport( 'joomla.cache.storage.eaccelerator' );
[edit] See also
-
JCacheStorageEaccelerator on api.joomla.org
-
JCacheStorageEaccelerator source code on JoomlaCode
-
Subpackage Cache
- Other versions of JCacheStorageEaccelerator
SeeAlso:JCacheStorageEaccelerator [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />