JCacheStorageApc
From Joomla! Documentation
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]
JCacheStorageApc is a concrete cache storage handler using PHP Cache (APC).
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
User contributed notes[edit]
Code Examples[edit]