Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс MemcachedStorage
+ Граф наследования:MemcachedStorage:

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

 __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 строка 13

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

◆ __construct()

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

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

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

Методы

◆ delete()

delete ( )

Deletes the cache Returns the number of deleted bytes

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

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

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

◆ deleteAll()

deleteAll ( )

Deletes all cache data in the storage

Возвращает
bool

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

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

◆ deleteProps()

deleteProps ( )
protected

Deletes the cache properties

Возвращает
bool

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

◆ exists()

exists ( )

Returns true if the cache exists

Возвращает
bool

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

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

◆ getLastModified()

getLastModified ( )

Returns the time the cache was last modified

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

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

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

◆ getMd5()

getMd5 ( )

Returns the md5 hash of the cache

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

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

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

◆ getProp()

getProp ( $property)
protected

Returns the property value

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

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

◆ getProps()

getProps ( )
protected

Returns an array of the cache properties

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

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

◆ getSize()

getSize ( )

Returns the size of the cache

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

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

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

◆ read()

read ( )

Returns the cache contents

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

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

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

◆ shouldCountQuota()

shouldCountQuota ( )

Should we count a quota limit

Возвращает
bool

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

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

◆ 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 строка 31