Documentation

CacheEngineFiles

CacheEngineFiles mechanism for cache storage in files. Includes \CacheEngine, \CacheEngineStat

Queries the following namespace:

Method Description Available from version
clean Cleans (deletes) cache directory or file.
delayedDelete Agent function that deletes checked cache directories.
getCachePath Returns path to physical file after unsuccessful reading or writing operation.
getReadBytes Returns number of bytes, read from drive. Otherwise returns false.
getWrittenBytes Returns number of bytes, written to drive. Otherwise returns false.
isAvailable Returns true when the cache file is available for reading or writing.
isCacheExpired Returns true when the cache file has expired.
read Reads cache in file.
write Writes cache into file.
Constructor Method - class constructor.


© «Bitrix24», 2001-2024