Граф наследования:CacheEngineFiles:Открытые члены | |
| __construct ($options=[]) | |
| getReadBytes () | |
| getWrittenBytes () | |
| getCachePath () | |
| isAvailable () | |
| clean ($baseDir, $initDir='', $filename='') | |
| read (&$vars, $baseDir, $initDir, $filename, $ttl) | |
| write ($vars, $baseDir, $initDir, $filename, $ttl) | |
| isCacheExpired ($path) | |
Открытые статические члены | |
| static | delayedDelete ($count=1) |
Защищенные члены | |
| lock ($fileName) | |
| unlock ($fileName) | |
Защищенные статические члены | |
| static | deleteOneDir ($etime=0, $ar=false) |
Защищенные данные | |
| $useLock = false | |
Статические защищенные данные | |
| static | $lockHandles = array() |
См. определение в файле cacheenginefiles.php строка 6
| __construct | ( | $options = [] | ) |
Engine constructor.
| array | $options | Cache options. |
См. определение в файле cacheenginefiles.php строка 22
| clean | ( | $baseDir, | |
| $initDir = '', | |||
| $filename = '' ) |
Cleans (removes) cache directory or file.
| string | $baseDir | Base cache directory (usually /bitrix/cache). |
| string | $initDir | Directory within base. |
| string | $filename | File name. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginefiles.php строка 156
|
static |
Agent function which deletes marked cache directories.
| integer | $count | Desired delete count. |
См. определение в файле cacheenginefiles.php строка 511
|
staticprotected |
Deletes one cache directory. Works no longer than etime.
| integer | $etime | Timestamp when to stop working. |
| boolean | $ar | Record from b_cache_tag. |
См. определение в файле cacheenginefiles.php строка 455
| getCachePath | ( | ) |
Returns physical file path after read or write operation.
Замещает CacheEngineStatInterface.
См. определение в файле cacheenginefiles.php строка 61
| getReadBytes | ( | ) |
Returns number of bytes read from disk or false if there was no read operation.
Замещает CacheEngineStatInterface.
См. определение в файле cacheenginefiles.php строка 41
| getWrittenBytes | ( | ) |
Returns number of bytes written to disk or false if there was no write operation.
Замещает CacheEngineStatInterface.
См. определение в файле cacheenginefiles.php строка 51
| isAvailable | ( | ) |
Returns true if cache can be read or written.
Замещает CacheEngineInterface.
См. определение в файле cacheenginefiles.php строка 71
| isCacheExpired | ( | $path | ) |
Returns true if cache file has expired.
| string | $path | Absolute physical path. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginefiles.php строка 416
|
protected |
Tries to put non-blocking exclusive lock on the file. Returns true if file not exists, or lock was successfully got.
| string | $fileName | Absolute cache file path. |
См. определение в файле cacheenginefiles.php строка 230
| read | ( | & | $vars, |
| $baseDir, | |||
| $initDir, | |||
| $filename, | |||
| $ttl ) |
Reads cache from the file. Returns true if file exists, not expired, and successfully read.
| mixed | &$vars | Cached result. |
| string | $baseDir | Base cache directory (usually /bitrix/cache). |
| string | $initDir | Directory within base. |
| string | $filename | File name. |
| integer | $ttl | Expiration period in seconds. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginefiles.php строка 269
|
protected |
Releases the lock obtained by lock method.
| string | $fileName | Absolute cache file path. |
См. определение в файле cacheenginefiles.php строка 249
| write | ( | $vars, | |
| $baseDir, | |||
| $initDir, | |||
| $filename, | |||
| $ttl ) |
Writes cache into the file.
| mixed | $vars | Cached result. |
| string | $baseDir | Base cache directory (usually /bitrix/cache). |
| string | $initDir | Directory within base. |
| string | $filename | File name. |
| integer | $ttl | Expiration period in seconds. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginefiles.php строка 359
|
staticprotected |
См. определение в файле cacheenginefiles.php строка 16
|
protected |
См. определение в файле cacheenginefiles.php строка 15