Wrapper around WANObjectCache providing a simpler interface for MessageGroups to use the cache.
More...
|
| __construct (WANObjectCache $cache) |
|
| getValue ( $recache=false) |
| Fetches value from cache for a message group.
|
|
| setValue ( $cacheData) |
| Sets value in the cache for the message group.
|
|
| touchKey () |
|
| delete () |
| Deletes the cached value.
|
|
| configure (array $config) |
| Configure the message group.
|
|
|
| checkConfig () |
| Check to see if the instance is configured properly.
|
|
Wrapper around WANObjectCache providing a simpler interface for MessageGroups to use the cache.
- Since
- 2019.05
Definition at line 15 of file MessageGroupWANCache.php.
◆ __construct()
MessageGroupWANCache::__construct |
( |
WANObjectCache | $cache | ) |
|
◆ checkConfig()
MessageGroupWANCache::checkConfig |
( |
| ) |
|
|
protected |
◆ configure()
MessageGroupWANCache::configure |
( |
array | $config | ) |
|
Configure the message group.
This must be called before making a call to any other method.
- Parameters
-
Definition at line 129 of file MessageGroupWANCache.php.
◆ delete()
MessageGroupWANCache::delete |
( |
| ) |
|
◆ getValue()
MessageGroupWANCache::getValue |
( |
| $recache = false | ) |
|
◆ setValue()
MessageGroupWANCache::setValue |
( |
| $cacheData | ) |
|
◆ touchKey()
MessageGroupWANCache::touchKey |
( |
| ) |
|
◆ $cache
MessageGroupWANCache::$cache |
|
protected |
◆ $cacheKey
MessageGroupWANCache::$cacheKey |
|
protected |
◆ $cacheVersion
MessageGroupWANCache::$cacheVersion |
|
protected |
◆ $checkKeys
MessageGroupWANCache::$checkKeys |
|
protected |
◆ $lockTSE
MessageGroupWANCache::$lockTSE |
|
protected |
◆ $regenerator
MessageGroupWANCache::$regenerator |
|
protected |
◆ $touchedCallback
MessageGroupWANCache::$touchedCallback |
|
protected |
◆ $ttl
MessageGroupWANCache::$ttl |
|
protected |
The documentation for this class was generated from the following file: