1C-Bitrix 25.700.0
|
Открытые члены | |
__construct (array $options=[]) | |
clean ($baseDir, $initDir=false, $filename=false) | |
write ($vars, $baseDir, $initDir, $filename, $ttl) | |
read (&$vars, $baseDir, $initDir, $filename, $ttl) | |
Открытые члены унаследованные от CacheEngineRedis | |
getConnectionName () | |
set ($key, $ttl, $value) | |
get ($key) | |
del ($key) | |
setNotExists ($key, $ttl, $value) | |
checkInSet ($key, $value) | |
addToSet ($key, $value) | |
getSet ($key) | |
deleteBySet ($key, $prefix='') | |
delFromSet ($key, $member) | |
addCleanPath (array $data) | |
delayedDelete () | |
Открытые члены унаследованные от KeyValueEngine | |
getReadBytes () | |
getWrittenBytes () | |
getCachePath () | |
close () | |
isAvailable () | |
isCacheExpired ($path) |
Дополнительные унаследованные члены | |
Открытые статические члены унаследованные от CacheEngineRedis | |
static | getConnectionClass () |
Поля данных унаследованные от KeyValueEngine | |
const | BX_BASE_LIST = 'BL:' |
const | BX_INIT_DIR_LIST = 'IL:' |
Защищенные члены унаследованные от CacheEngineRedis | |
configure ($options=[]) | |
Защищенные члены унаследованные от KeyValueEngine | |
lock (string $key='', int $ttl=0) | |
unlock (string $key='') | |
getPartition ($key) | |
getInitDirKey ($baseDirVersion, $baseDir, $initDir) | |
getBaseDirKey ($baseDir) | |
getKeyPrefix ($baseDirVersion, $initDirVersion) | |
getInitDirVersion ($baseDir, $initDir=false, bool $create=true) | |
getBaseDirVersion ($baseDir) | |
Защищенные данные унаследованные от KeyValueEngine | |
string | $sid = 'BX' |
bool | $useLock = false |
int | $ttlMultiplier = 2 |
int | $ttlOld = 60 |
bool | $old = false |
bool | $fullClean = false |
int | $written = 0 |
int | $read = 0 |
string | $path = '' |
Статические защищенные данные унаследованные от KeyValueEngine | |
static | $engine = null |
static array | $locks = [] |
static bool | $isConnected = false |
static array | $baseDirVersion = [] |
static array | $initDirPartitions = [] |
static int | $clusterGroup = 0 |
См. определение в файле cacheengineredislight.php строка 5
__construct | ( | array | $options = [] | ) |
CacheEngine constructor.
array | $options | Cache options. |
Переопределяет метод предка KeyValueEngine.
См. определение в файле cacheengineredislight.php строка 7
Cleans (removes) the value from the cache by the key (directory or file).
string | $baseDir | Base cache directory (usually /bitrix/cache). |
string | $initDir | Directory within base. |
string | $filename | File name. |
Переопределяет метод предка KeyValueEngine.
См. определение в файле cacheengineredislight.php строка 13
read | ( | & | $vars, |
$baseDir, | |||
$initDir, | |||
$filename, | |||
$ttl ) |
Reads the value from the cache. Returns true if the value 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. |
Переопределяет метод предка KeyValueEngine.
См. определение в файле cacheengineredislight.php строка 100
write | ( | $vars, | |
$baseDir, | |||
$initDir, | |||
$filename, | |||
$ttl ) |
Writes the value into the cache by the key.
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. |
Переопределяет метод предка KeyValueEngine.
См. определение в файле cacheengineredislight.php строка 75