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

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

 __construct (Pool $pool, int $ttl, string $cacheId, Cache $cache, EventManager $eventManager)
 loadDataFromCache ()
 saveDataToCache ()
 getItem (string $key)
 addItem (string $key, $value)
 deleteItem (string $key)
 cleanItems ()
Открытые члены унаследованные от Cache
 __construct ($cacheEngine)
 clean ($uniqueString, $initDir=false, $baseDir='cache')
 cleanDir ($initDir=false, $baseDir='cache')
 initCache ($ttl, $uniqueString, $initDir=false, $baseDir='cache')
 output ()
 noOutput ()
 getVars ()
 startDataCache ($TTL=false, $uniqueString=false, $initDir=false, $vars=array(), $baseDir='cache')
 abortDataCache ()
 endDataCache ($vars=false)
 isCacheExpired ($path)
 isStarted ()
 forceRewriting ($mode)

Защищенные данные

 $pool
 $cache
 $isItemChanged = false
Защищенные данные унаследованные от Cache
CacheEngineInterface $cacheEngine
 $content
 $vars
int $ttl = 0
string $uniqueString = ''
string $baseDir = 'cache'
string $initDir = ''
string $filename = ''
bool $isStarted = false
bool $forceRewriting = false
bool $hasOutput = true

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

Открытые статические члены унаследованные от Cache
static createCacheEngine ($params=[])
static getCacheEngineType ()
static createInstance ($params=[])
static setShowCacheStat ($showCacheStat)
static getShowCacheStat ()
static setClearCache ($clearCache)
static setClearCacheSession ($clearCacheSession)
static getSalt ()
static shouldClearCache ()
static getPath ($uniqueString)
static clearCache ($full=false, $initDir='')
Статические защищенные данные унаследованные от Cache
static $showCacheStat = false
static $clearCache = null
static $clearCacheSession = null

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

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

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

◆ __construct()

__construct ( Pool $pool,
int $ttl,
string $cacheId,
Cache $cache,
EventManager $eventManager )

CachePool constructor.

Аргументы
Pool$pool
int$ttl
string$cacheId
Cache$cache
EventManager$eventManager

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

Методы

◆ addItem()

addItem ( string $key,
$value )
Аргументы
string$key
mixed$value

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

◆ cleanItems()

cleanItems ( )

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

◆ deleteItem()

deleteItem ( string $key)
Аргументы
string$key

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

◆ getItem()

getItem ( string $key)
Аргументы
string$key
Возвращает
mixed

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

◆ loadDataFromCache()

loadDataFromCache ( )

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

◆ saveDataToCache()

saveDataToCache ( )

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

Поля

◆ $cache

$cache
protected

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

◆ $isItemChanged

$isItemChanged = false
protected

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

◆ $pool

$pool
protected

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


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