JCacheStorageMemcache::lock
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.
JCacheStorageMemcache::lock[edit]
Description[edit]
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[edit]
- JCacheStorageMemcache::lock source code on BitBucket
- Class JCacheStorageMemcache
- Subpackage Cache
- Other versions of JCacheStorageMemcache::lock
User contributed notes[edit]
Code Examples[edit]