1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CPHPCacheRedisCluster
Граф наследования:CPHPCacheRedisCluster:
CacheEngineRedis KeyValueEngine CacheEngineInterface CacheEngineInterface CacheEngineStatInterface

Открытые члены

 __construct ()
 QueueRun ($param1, $param2, $param3)
 clean ($baseDir, $initDir=false, $filename=false)
Открытые члены унаследованные от 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
 __construct (array $options=[])
 getReadBytes ()
 getWrittenBytes ()
 getCachePath ()
 close ()
 isAvailable ()
 isCacheExpired ($path)
 read (&$vars, $baseDir, $initDir, $filename, $ttl)
 write ($vars, $baseDir, $initDir, $filename, $ttl)

Защищенные члены

 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)

Дополнительные унаследованные члены

Открытые статические члены унаследованные от CacheEngineRedis
static getConnectionClass ()
Поля данных унаследованные от KeyValueEngine
const BX_BASE_LIST = 'BL:'
const BX_INIT_DIR_LIST = 'IL:'
Защищенные данные унаследованные от 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

Подробное описание

См. определение в файле redis_cache.php строка 6

Конструктор(ы)

◆ __construct()

__construct ( )

См. определение в файле redis_cache.php строка 12

Методы

◆ clean()

clean ( $baseDir,
$initDir = false,
$filename = false )

Cleans (removes) the value from the cache by the key (directory or file).

Аргументы
string$baseDirBase cache directory (usually /bitrix/cache).
string$initDirDirectory within base.
string$filenameFile name.
Возвращает
void

Переопределяет метод предка KeyValueEngine.

См. определение в файле redis_cache.php строка 58

◆ configure()

configure ( $options = [])
protected

Переопределяет метод предка CacheEngineRedis.

См. определение в файле redis_cache.php строка 41

◆ QueueRun()

QueueRun ( $param1,
$param2,
$param3 )

См. определение в файле redis_cache.php строка 52


Объявления и описания членов класса находятся в файле: