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
Datei anzeigen Open project: php-cache/cache

Protected Properties

Property Type Description
$cache

Public Methods

Method Description
__construct ( Memcached $cache )

Protected Methods

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

Method Details

__construct() public method

public __construct ( Memcached $cache )
$cache Memcached

clearAllObjectsFromCache() protected method

protected clearAllObjectsFromCache ( )

clearOneObjectFromCache() protected method

protected clearOneObjectFromCache ( $key )

fetchObjectFromCache() protected method

protected fetchObjectFromCache ( $key )

getValueFormStore() protected method

protected getValueFormStore ( $key )

storeItemInCache() protected method

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

Property Details

$cache protected_oe property

protected $cache