◆ delData()
BxDolCacheXCache::delData |
( |
| $sKey | ) |
|
Delete cache from shared memory
- Parameters
-
- Returns
- result of the operation
Reimplemented from BxDolCache.
◆ getData()
BxDolCacheXCache::getData |
( |
| $sKey, |
|
|
| $iTTL = false ) |
Get data from shared memory cache
- Parameters
-
string | $sKey | - file name |
int | $iTTL | - time to live |
- Returns
- the data is got from cache.
Reimplemented from BxDolCache.
◆ isAvailable()
BxDolCacheXCache::isAvailable |
( |
| ) |
|
Check if xcache functions are available
- Returns
- boolean
Reimplemented from BxDolCache.
◆ isInstalled()
BxDolCacheXCache::isInstalled |
( |
| ) |
|
Check if xcache extension is loaded
- Returns
- boolean
Reimplemented from BxDolCache.
◆ removeAllByPrefix()
BxDolCacheXCache::removeAllByPrefix |
( |
| $s | ) |
|
remove all data from cache by key prefix
- Returns
- true on success
Reimplemented from BxDolCache.
◆ setData()
BxDolCacheXCache::setData |
( |
| $sKey, |
|
|
| $mixedData, |
|
|
| $iTTL = false ) |
Save data in shared memory cache
- Parameters
-
string | $sKey | - file name |
mixed | $mixedData | - the data to be cached in the file |
int | $iTTL | - time to live |
- Returns
- boolean result of operation.
Reimplemented from BxDolCache.
The documentation for this class was generated from the following file:
- inc/classes/BxDolCacheXCache.php