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

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

 __construct ($cacheKey, array $configuration, array $htmlCacheOptions)
 getContents ()
 getLastModified ()
 getEtag ()
 getContentType ()
 exists ()
 isGzipped ()
 shouldCountQuota ()
 getProps ()
 getProp ($property)

Открытые статические члены

static getConnection (array $configuration, array $htmlCacheOptions)
static close ()

Поля данных

const MEMCACHED_GZIP_FLAG = 65536

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

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

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

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

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

◆ __construct()

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

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

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

Методы

◆ close()

close ( )
static

Closes connection to the memcached server

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

◆ exists()

exists ( )

Checks whether the cache exists

Возвращает
bool

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

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

◆ getConnection()

getConnection ( array $configuration,
array $htmlCacheOptions )
static

Returns the object that represents the connection to the memcached server

Аргументы
array$configurationmemcached configuration
array$htmlCacheOptionshtml cache options
Возвращает
\Memcache|false

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

◆ getContents()

getContents ( )

Returns the cache contents

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

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

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

◆ getContentType()

getContentType ( )

Returns the content type of the cache

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

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

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

◆ getEtag()

getEtag ( )

Returns the Entity Tag of the cache

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

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

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

◆ getLastModified()

getLastModified ( )

Returns the time the cache was last modified

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

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

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

◆ getProp()

getProp ( $property)

Returns the $property value

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

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

◆ getProps()

getProps ( )

Returns an array of the cache properties

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

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

◆ isGzipped()

isGzipped ( )

Returns true if content is gzipped

Возвращает
bool

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

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

◆ shouldCountQuota()

shouldCountQuota ( )

Should we count a quota limit

Возвращает
bool

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

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

Поля

◆ MEMCACHED_GZIP_FLAG

const MEMCACHED_GZIP_FLAG = 65536

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


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