PHP Class Cache\Adapter\Memcached\MemcachedCachePool

Author: Aaron Scherer ([email protected])
Author: Tobias Nyholm ([email protected])
Inheritance: extends Cache\Adapter\Common\AbstractCachePool, implements Cache\Hierarchy\HierarchicalPoolInterface, use trait Cache\Hierarchy\HierarchicalCachePoolTrait
Afficher le fichier Open project: php-cache/cache

Protected Properties

Свойство Type Description
$cache

Méthodes publiques

Méthode Description
__construct ( Memcached $cache )

Méthodes protégées

Méthode Description
clearAllObjectsFromCache ( )
clearOneObjectFromCache ( $key )
fetchObjectFromCache ( $key )
getValueFormStore ( $key )
storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl )

Method Details

__construct() public méthode

public __construct ( Memcached $cache )
$cache Memcached

clearAllObjectsFromCache() protected méthode

protected clearAllObjectsFromCache ( )

clearOneObjectFromCache() protected méthode

protected clearOneObjectFromCache ( $key )

fetchObjectFromCache() protected méthode

protected fetchObjectFromCache ( $key )

getValueFormStore() protected méthode

protected getValueFormStore ( $key )

storeItemInCache() protected méthode

protected storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl )
$item Psr\Cache\CacheItemInterface

Property Details

$cache protected_oe property

protected $cache