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 | protected | property | The cache tags checksum provider. |
| ApcuBackend::$sitePrefix | protected | property | Prefix for all keys in the storage that belong to this site. |
| ApcuBackend::delete | public | function | Deletes an item from the cache. Overrides CacheBackendInterface::delete |
| ApcuBackend::deleteAll | public | function | Deletes all cache items in a bin. Overrides CacheBackendInterface::deleteAll |
| ApcuBackend::deleteMultiple | public | function | Deletes multiple items from the cache. Overrides CacheBackendInterface::deleteMultiple |
| ApcuBackend::garbageCollection | public | function | Performs garbage collection on a cache bin. Overrides CacheBackendInterface::garbageCollection |
| ApcuBackend::get | public | function | Returns data from the persistent cache. Overrides CacheBackendInterface::get |
| ApcuBackend::getAll | protected | function | Returns all cached items, optionally limited by a cache ID prefix. |
| ApcuBackend::getApcuKey | public | function | Prepends the APCu user variable prefix for this bin to a cache item ID. |
| ApcuBackend::getIterator | protected | function | Instantiates and returns the APCUIterator class. |
| ApcuBackend::getMultiple | public | function | Returns data from the persistent cache when given an array of cache IDs. Overrides CacheBackendInterface::getMultiple |
| ApcuBackend::invalidate | public | function | Marks a cache item as invalid. Overrides CacheBackendInterface::invalidate |
| ApcuBackend::invalidateAll | public | function | Marks all cache items as invalid. Overrides CacheBackendInterface::invalidateAll |
| ApcuBackend::invalidateMultiple | public | function | Marks cache items as invalid. Overrides CacheBackendInterface::invalidateMultiple |
| ApcuBackend::prepareItem | protected | function | Prepares a cached item. |
| ApcuBackend::removeBin | public | function | Remove a cache bin. Overrides CacheBackendInterface::removeBin |
| ApcuBackend::set | public | function | Stores data in the persistent cache. Overrides CacheBackendInterface::set |
| ApcuBackend::setMultiple | public | function | Store multiple items in the persistent cache. Overrides CacheBackendInterface::setMultiple |
| ApcuBackend::__construct | public | function | Constructs a new ApcuBackend instance. |
| CacheBackendInterface::CACHE_PERMANENT | constant | Indicates that the item should never be removed unless explicitly deleted. |
Please login to continue.