ApcuBackend::get

public ApcuBackend::get($cid, $allow_invalid = FALSE) Returns data from the persistent cache. Parameters string $cid: The cache ID of the data to retrieve. bool $allow_invalid: (optional) If TRUE, a cache item may be returned even if it is expired or has been invalidated. Such items may sometimes be preferred, if the alternative is recalculating the value stored in the cache, especially if another concurrent request is already recalculating the same value. The "valid" property of the returned

ApcuBackend::deleteAll

public ApcuBackend::deleteAll() Deletes all cache items in a bin. Overrides CacheBackendInterface::deleteAll See also \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() \Drupal\Core\Cache\CacheBackendInterface::delete() \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 206 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code public function deleteAll()

ApcuBackend::deleteMultiple

public ApcuBackend::deleteMultiple(array $cids) Deletes multiple items from the cache. If the cache items are being deleted because they are no longer "fresh", you may consider using invalidateMultiple() instead. This allows callers to retrieve the invalid items by calling get() with $allow_invalid set to TRUE. In some cases an invalid item may be acceptable rather than having to rebuild the cache. Parameters array $cids: An array of cache IDs to delete. Overrides CacheBackendInterface::delete

ApcuBackend::delete

public ApcuBackend::delete($cid) Deletes an item from the cache. If the cache item is being deleted because it is no longer "fresh", you may consider using invalidate() instead. This allows callers to retrieve the invalid item by calling get() with $allow_invalid set to TRUE. In some cases an invalid item may be acceptable rather than having to rebuild the cache. Parameters string $cid: The cache ID to delete. Overrides CacheBackendInterface::delete See also \Drupal\Core\Cache\CacheBackendInt

ApcuBackend

Stores cache items in the Alternative PHP Cache User Cache (APCu). Hierarchy class \Drupal\Core\Cache\ApcuBackend implements CacheBackendInterface File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 8 Namespace Drupal\Core\Cache Members Name Modifiers Type Description ApcuBackend::$bin protected property The name of the cache bin to use. ApcuBackend::$binPrefix protected property Prefix for all keys in this cache bin. ApcuBackend::$checksumProvider protecte

ApcuBackend::$checksumProvider

The cache tags checksum provider. Type: \Drupal\Core\Cache\CacheTagsChecksumInterface File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 38 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code protected $checksumProvider;

ApcuBackend::$binPrefix

Prefix for all keys in this cache bin. Includes the site-specific prefix in $sitePrefix. Type: string File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 31 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code protected $binPrefix;

ApcuBackend::$bin

The name of the cache bin to use. Type: string File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 15 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code protected $bin;

ApcuBackend::$sitePrefix

Prefix for all keys in the storage that belong to this site. Type: string File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 22 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code protected $sitePrefix;

Apcu4Backend

Stores cache items in the Alternative PHP Cache User Cache (APCu). This class is used with APCu versions >= 4.0.0 and < 5.0.0. Hierarchy class \Drupal\Core\Cache\ApcuBackend implements CacheBackendInterfaceclass \Drupal\Core\Cache\Apcu4Backend File core/lib/Drupal/Core/Cache/Apcu4Backend.php, line 10 Namespace Drupal\Core\Cache Members Name Modifiers Type Description Apcu4Backend::getIterator protected function Overrides ApcuBackend::getIterator ApcuBackend::$bi