Bitrix API

CachedPool extends Cache

Class CachePool

Table of Contents

Methods

__construct()  : mixed
CachePool constructor.
addItem()  : void
cleanItems()  : void
deleteItem()  : void
getItem()  : mixed
loadDataFromCache()  : void
saveDataToCache()  : void

Methods

__construct()

CachePool constructor.

public __construct(Pool $pool, int $ttl, string $cacheId, Cache $cache, EventManager $eventManager) : mixed
Parameters
$pool : Pool
$ttl : int
$cacheId : string
$cache : Cache
$eventManager : EventManager

addItem()

public addItem(string $key, mixed $value) : void
Parameters
$key : string
$value : mixed

deleteItem()

public deleteItem(string $key) : void
Parameters
$key : string

getItem()

public getItem(string $key) : mixed
Parameters
$key : string

loadDataFromCache()

public loadDataFromCache() : void

saveDataToCache()

public saveDataToCache() : void

        
On this page

Search results