Actions

API17

Difference between revisions of "JCacheStorageApc"

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}} 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>
{{Description:JCacheStorageApc}}
 
===Defined in===
 
libraries/joomla/cache/storage/apc.php
 
* see source code in [[jplatform:cache/storage/apc.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Cache/11.1|Cache]]
 
===Extends===
 
[[JCacheStorage/11.1|JCacheStorage]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JCacheStorageApc::clean/11.1|clean]]
+
|public
 +
|[[API17:JCacheStorageApc::clean|clean]]
 
|Clean cache for a group given a mode.  
 
|Clean cache for a group given a mode.  
 
|-
 
|-
|[[JCacheStorageApc::gc/11.1|gc]]
+
|public
 +
|[[API17:JCacheStorageApc::gc|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!  
 
|-
 
|-
|[[JCacheStorageApc::get/11.1|get]]
+
|public
 +
|[[API17:JCacheStorageApc::get|get]]
 
|Get cached data from APC by id and group.  
 
|Get cached data from APC by id and group.  
 
|-
 
|-
|[[JCacheStorageApc::getAll/11.1|getAll]]
+
|public
 +
|[[API17:JCacheStorageApc::getAll|getAll]]
 
|Get all cached data.  
 
|Get all cached data.  
 
|-
 
|-
|[[JCacheStorageApc::lock/11.1|lock]]
+
|public
 +
|[[API17:JCacheStorageApc::lock|lock]]
 
|Lock cached item - override parent as this is more efficient.  
 
|Lock cached item - override parent as this is more efficient.  
 
|-
 
|-
|[[JCacheStorageApc::remove/11.1|remove]]
+
|public
 +
|[[API17:JCacheStorageApc::remove|remove]]
 
|Remove a cached data entry by id and group.  
 
|Remove a cached data entry by id and group.  
 
|-
 
|-
|[[JCacheStorageApc::store/11.1|store]]
+
|public
 +
|[[API17:JCacheStorageApc::store|store]]
 
|Store the data to APC by id and group.  
 
|Store the data to APC by id and group.  
 
|-
 
|-
|[[JCacheStorageApc::unlock/11.1|unlock]]
+
|public
 +
|[[API17:JCacheStorageApc::unlock|unlock]]
 
|Unlock cached item - override parent for cacheid compatibility with lock.  
 
|Unlock cached item - override parent for cacheid compatibility with lock.  
 
|-
 
|-
|[[JCacheStorageApc::test/11.1|test]]
+
|public static
 +
|[[API17:JCacheStorageApc::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/apc.php
 +
* '''Extends''' [[API17:JCacheStorage|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 in [[jplatform:cache/storage/apc.php|BitBucket]]
+
* {{JVer|11.1}} '''JCacheStorageApc source code''' on [[jplatform:cache/storage/apc.php|BitBucket]]
* [[JCacheStorageApc|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
 +
* [[API17: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>
===Examples===
+
===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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 18:51, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JCacheStorageApc

Description

JCacheStorageApc is a concrete cache storage handler using PHP Cache (APC). [Edit Descripton]

Methods

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

jimport( 'joomla.cache.storage.apc' );

See also

  • Joomla 11.1 JCacheStorageApc source code on BitBucket
  • Joomla 11.1 Subpackage Cache
  • Other versions of JCacheStorageApc

SeeAlso:JCacheStorageApc [Edit See Also]

User contributed notes

<CodeExamplesForm />