ApcuBackend::garbageCollection

public ApcuBackend::garbageCollection() Performs garbage collection on a cache bin. The backend may choose to delete expired or invalidated items. Overrides CacheBackendInterface::garbageCollection File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 213 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code public function garbageCollection() { // APCu performs garbage collection automatically. }

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::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::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::$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;

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

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

Apcu4Backend::getIterator

protected Apcu4Backend::getIterator($search = NULL, $format = APC_ITER_ALL, $chunk_size = 100, $list = APC_LIST_ACTIVE) Return value \APCIterator Overrides ApcuBackend::getIterator File core/lib/Drupal/Core/Cache/Apcu4Backend.php, line 17 Class Apcu4Backend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code protected function getIterator($search = NULL, $format = APC_ITER_ALL, $chunk_size = 100, $list = APC_LIST_ACTIVE) { return new \