API17:JCacheStorageMemcache::lock
From Joomla! Documentation
JCacheStorageMemcache::lock
Description
Lock cached item - override parent as this is more efficient.
public function lock (
$id
$group
$locktime
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id | string | The cache data id | |
| $group | string | The cache data group | |
| $locktime | integer | Cached item max lock time |
- Returns boolean True on success, false otherwise.
- Defined on line 286 of libraries/joomla/cache/storage/memcache.php
- Since

See also
JCacheStorageMemcache::lock source code on BitBucket
Class JCacheStorageMemcache
Subpackage Cache- Other versions of JCacheStorageMemcache::lock
User contributed notes
Code Examples