Cheetah
|
Public Member Functions | |
__construct () | |
getData ($sKey, $iTTL=false) | |
setData ($sKey, $mixedData, $iTTL=false) | |
delData ($sKey) | |
isAvailable () | |
isInstalled () | |
removeAllByPrefix ($s) | |
getSizeByPrefix ($s) | |
Public Attributes | |
$bOpcacheGetConfigurationAva = false | |
$bOpcacheGetStatusAva = false | |
$bOpcacheGetConfigurationDisabled = true | |
$bOpcacheGetStatusDisabled = true | |
Definition at line 10 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::__construct | ( | ) |
ChWsbCacheOPcache::delData | ( | $sKey | ) |
Delete cache from cache server
string | $sKey | - file name |
Reimplemented from ChWsbCache.
Definition at line 89 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::getData | ( | $sKey, | |
$iTTL = false |
|||
) |
Get data from cache server
string | $sKey | - file name |
int | $iTTL | - time to live |
Reimplemented from ChWsbCache.
Definition at line 64 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::getSizeByPrefix | ( | $s | ) |
get size of cached data by name prefix
Reimplemented from ChWsbCache.
Definition at line 134 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::isAvailable | ( | ) |
Check if OPcache is available
Reimplemented from ChWsbCache.
Definition at line 99 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::isInstalled | ( | ) |
Check if OPcache extension is loaded
Reimplemented from ChWsbCache.
Definition at line 113 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::removeAllByPrefix | ( | $s | ) |
remove all data from cache by key prefix
Reimplemented from ChWsbCache.
Definition at line 125 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::setData | ( | $sKey, | |
$mixedData, | |||
$iTTL = false |
|||
) |
Save data in cache server
string | $sKey | - file name |
mixed | $mixedData | - the data to be cached in the file |
int | $iTTL | - time to live |
Reimplemented from ChWsbCache.
Definition at line 78 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::$bOpcacheGetConfigurationAva = false |
Definition at line 16 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::$bOpcacheGetConfigurationDisabled = true |
Definition at line 18 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::$bOpcacheGetStatusAva = false |
Definition at line 17 of file ChWsbCacheOPcache.php.
ChWsbCacheOPcache::$bOpcacheGetStatusDisabled = true |
Definition at line 19 of file ChWsbCacheOPcache.php.