JCacheStorageMemcache
Memcache cache storage handler
Located in /joomla/cache/storage/memcache.php (line 25)
JObject (Subpackage Base)
![]()
JCacheStorage
![]()
JCacheStorageMemcache (Subpackage Cache)
int
$_compress
= null (line 37)
Use compression?
resource
$_db
(line 31)
Resource for the current memcached connection.
boolean
$_persistent
= false (line 43)
Use persistent connections
Inherited Variables
Inherited from JObject
JObject::$_errors
Constructor
- array $options: optional parameters
- JCacheStorage::__construct()
- Constructor
Clean cache for a group given a mode.
group mode : cleans all cache in the group notgroup mode : cleans all cache not in the group
- string $group: The cache data group
- string $mode: The mode for cleaning cache [group|notgroup]
- JCacheStorage::clean()
- Clean cache for a group given a mode.
Garbage collect expired cache data
- JCacheStorage::gc()
- Garbage collect expired cache data
Get cached data from memcache by id and group
- string $id: The cache data id
- string $group: The cache data group
- boolean $checkTime: True to verify cache time expiration threshold
- JCacheStorage::get()
- Get cached data by id and group
Remove a cached data entry by id and group
- string $id: The cache data id
- string $group: The cache data group
- JCacheStorage::remove()
- Remove a cached data entry by id and group
Store the data to memcache by id and group
- string $id: The cache data id
- string $group: The cache data group
- string $data: The data to store in cache
- JCacheStorage::store()
- Store the data to cache by id and group
Test to see if the cache storage is available.
- JCacheStorage::test()
- Test to see if the storage handler is available.
Inherited Methods
Inherited From JCacheStorage
JCacheStorage::__construct()
JCacheStorage::clean()
JCacheStorage::gc()
JCacheStorage::get()
JCacheStorage::getInstance()
JCacheStorage::remove()
JCacheStorage::store()
JCacheStorage::test()
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()





static