◆ delData()
BxDolCacheAPC::delData |
( |
| $sKey | ) |
|
Delete cache from shared memory
- Parameters
-
- Returns
- result of the operation
Reimplemented from BxDolCache.
◆ getData()
BxDolCacheAPC::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()
BxDolCacheAPC::isAvailable |
( |
| ) |
|
Check if apc cache functions are available
- Returns
- boolean
Reimplemented from BxDolCache.
◆ isInstalled()
BxDolCacheAPC::isInstalled |
( |
| ) |
|
Check if apc extension is loaded
- Returns
- boolean
Reimplemented from BxDolCache.
◆ removeAllByPrefix()
BxDolCacheAPC::removeAllByPrefix |
( |
| $s | ) |
|
remove all data from cache by key prefix
- Returns
- true on success
Reimplemented from BxDolCache.
◆ setData()
BxDolCacheAPC::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/BxDolCacheAPC.php