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

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

 __construct ($cacheKey, array $configuration, array $htmlCacheOptions)
 write ($content, $md5)
 read ()
 exists ()
 delete ()
 deleteAll ()
 getMd5 ()
 shouldCountQuota ()
 getLastModified ()
 getSize ()

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

 getProps ()
 deleteProps ()
 getProp ($property)

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

Защищенные данные унаследованные от AbstractStorage
 $cacheKey = null
 $configuration = array()
 $htmlCacheOptions = array()

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

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

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

◆ __construct()

__construct ( $cacheKey,
array $configuration,
array $htmlCacheOptions )
Аргументы
string$cacheKeyunique cache identifier
array$configurationstorage configuration
array$htmlCacheOptionshtml cache options

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

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

Методы

◆ delete()

delete ( )

Deletes the cache Returns the number of deleted bytes

Возвращает
int|false

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

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

◆ deleteAll()

deleteAll ( )

Deletes all cache data in the storage

Возвращает
bool

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

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

◆ deleteProps()

deleteProps ( )
protected

Deletes the cache properties

Возвращает
bool

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

◆ exists()

exists ( )

Returns true if the cache exists

Возвращает
bool

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

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

◆ getLastModified()

getLastModified ( )

Returns the time the cache was last modified

Возвращает
int|false

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

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

◆ getMd5()

getMd5 ( )

Returns the md5 hash of the cache

Возвращает
string|false

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

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

◆ getProp()

getProp ( $property)
protected

Returns the property value

Аргументы
string$propertythe property name
Возвращает
string|false

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

◆ getProps()

getProps ( )
protected

Returns an array of the cache properties

Возвращает
\stdClass|false

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

◆ getSize()

getSize ( )

Returns the size of the cache

Возвращает
int|false

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

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

◆ read()

read ( )

Returns the cache contents

Возвращает
string|false

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

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

◆ shouldCountQuota()

shouldCountQuota ( )

Should we count a quota limit

Возвращает
bool

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

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

◆ write()

write ( $content,
$md5 )

Writes the content to the storage

Аргументы
string$contentthe string that is to be written
string$md5the content hash
Возвращает
bool

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

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


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