\JCacheStorageApc
APC cache storage handler
Synopsis
class JCacheStorageApc
extends JCacheStorage
{
- // Inherited members from JCacheStorage
- protected $rawname;
- public datetime $_now;
- public $_lifetime;
- public $_locking;
- public $_language;
- public $_application;
- public $_hash;
- // methods
- public mixed get()
- public array getAll()
- public boolean store()
- public boolean remove()
- public boolean clean()
- public boolean gc()
- public static boolean isSupported()
- public lock()
- public boolean unlock()
- // Inherited methods from JCacheStorage
- public void __construct()
- public static JCacheStorage getInstance()
- public mixed get()
- public mixed getAll()
- public boolean store()
- public boolean remove()
- public boolean clean()
- public boolean gc()
- public static boolean isSupported()
- public static boolean test()
- public boolean lock()
- public boolean unlock()
- protected string _getCacheId()
- public static array addIncludePath()
Hierarchy
Extends
Tasks
Tasks
Line | Task |
---|---|
175+ | Review this method. The docblock doesn't fit what it actually does. |
Members
protected
- $rawname — string
public
- $_application — string
- $_hash — string
- $_language — string
- $_lifetime — integer
- $_locking — boolean
- $_now — datetime
Methods
public
- clean() — Clean cache for a group given a mode.
- gc() — Force garbage collect expired cache data as items are removed only on fetch!
- get() — Get cached data from APC by id and group
- getAll() — Get all cached data
- isSupported() — Test to see if the cache storage is available.
- lock() — Lock cached item - override parent as this is more efficient
- remove() — Remove a cached data entry by id and group
- store() — Store the data to APC by id and group
- unlock() — Unlock cached item - override parent for cacheid compatibility with lock
Inherited from JCacheStorage
protected
- _getCacheId() — Get a cache_id string from an id/group pair
public
- addIncludePath() — Add a directory where JCacheStorage should search for handlers. You may either pass a string or an array of directories.
- clean() — Clean cache for a group given a mode.
- gc() — Garbage collect expired cache data
- get() — Get cached data by id and group
- getAll() — Get all cached data
- getInstance() — Returns a cache storage handler object, only creating it if it doesn't already exist.
- isSupported() — Test to see if the storage handler is available.
- lock() — Lock cached item
- remove() — Remove a cached data entry by id and group
- store() — Store the data to cache by id and group
- test() — Test to see if the storage handler is available.
- unlock() — Unlock cached item