ApcuBackendFactory::__construct

public ApcuBackendFactory::__construct($root, $site_path, CacheTagsChecksumInterface $checksum_provider) Constructs an ApcuBackendFactory object. Parameters string $root: The app root. string $site_path: The site path. \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider: The cache tags checksum provider. File core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 40 Class ApcuBackendFactory Namespace Drupal\Core\Cache Code public function __construct($root, $site_path,

ApcuFileCacheBackend::fetch

public ApcuFileCacheBackend::fetch(array $cids) Fetches data from the cache backend. Parameters array $cids: The cache IDs to fetch. Return value array An array containing cache entries keyed by cache ID. Overrides FileCacheBackendInterface::fetch File core/lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php, line 13 Class ApcuFileCacheBackend APCu backend for the file cache. Namespace Drupal\Component\FileCache Code public function fetch(array $cids) { return apcu_fetch($cids)

ApcuBackendFactory

Hierarchy class \Drupal\Core\Cache\ApcuBackendFactory implements CacheFactoryInterface File core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 7 Namespace Drupal\Core\Cache Members Name Modifiers Type Description ApcuBackendFactory::$backendClass protected property The APCU backend class to use. ApcuBackendFactory::$checksumProvider protected property The cache tags checksum provider. ApcuBackendFactory::$sitePrefix protected property The site prefix

ApcuBackendFactory::$backendClass

The APCU backend class to use. Type: string File core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 28 Class ApcuBackendFactory Namespace Drupal\Core\Cache Code protected $backendClass;

ApcuBackend::__construct

public ApcuBackend::__construct($bin, $site_prefix, CacheTagsChecksumInterface $checksum_provider) Constructs a new ApcuBackend instance. Parameters string $bin: The name of the cache bin. string $site_prefix: The prefix to use for all keys in the storage that belong to this site. \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider: The cache tags checksum provider. File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 50 Class ApcuBackend Stores cache items in the Alternativ

ApcuBackendFactory::get

public ApcuBackendFactory::get($bin) Gets ApcuBackend for the specified cache bin. Parameters $bin: The cache bin for which the object is created. Return value \Drupal\Core\Cache\ApcuBackend The cache backend object for the specified cache bin. Overrides CacheFactoryInterface::get File core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 60 Class ApcuBackendFactory Namespace Drupal\Core\Cache Code public function get($bin) { return new $this->backendClass($bin, $this->sit

ApcuBackendFactory::$sitePrefix

The site prefix string. Type: string File core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 14 Class ApcuBackendFactory Namespace Drupal\Core\Cache Code protected $sitePrefix;

ApcuBackendFactory::$checksumProvider

The cache tags checksum provider. Type: \Drupal\Core\Cache\CacheTagsChecksumInterface File core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 21 Class ApcuBackendFactory Namespace Drupal\Core\Cache Code protected $checksumProvider;

ApcuBackend::set

public ApcuBackend::set($cid, $data, $expire = CacheBackendInterface::CACHE_PERMANENT, array $tags = array()) Stores data in the persistent cache. Core cache implementations set the created time on cache item with microtime(TRUE) rather than REQUEST_TIME_FLOAT, because the created time of cache items should match when they are created, not when the request started. Apart from being more accurate, this increases the chance an item will legitimately be considered valid. Parameters string $cid: T

ApcuBackend::invalidateAll

public ApcuBackend::invalidateAll() Marks all cache items as invalid. Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE. Overrides CacheBackendInterface::invalidateAll See also \Drupal\Core\Cache\CacheBackendInterface::deleteAll() \Drupal\Core\Cache\CacheBackendInterface::invalidate() \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 243 Class ApcuBackend Stores cache items in th