You are here

public function CacheBackendInterface::garbageCollection in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::garbageCollection()

Performs garbage collection on a cache bin.

The backend may choose to delete expired or invalidated items.

8 methods override CacheBackendInterface::garbageCollection()
ApcuBackend::garbageCollection in core/lib/Drupal/Core/Cache/ApcuBackend.php
Performs garbage collection on a cache bin.
BackendChain::garbageCollection in core/lib/Drupal/Core/Cache/BackendChain.php
Performs garbage collection on a cache bin.
ChainedFastBackend::garbageCollection in core/lib/Drupal/Core/Cache/ChainedFastBackend.php
Performs garbage collection on a cache bin.
DatabaseBackend::garbageCollection in core/lib/Drupal/Core/Cache/DatabaseBackend.php
Performs garbage collection on a cache bin.
MemcacheBackend::garbageCollection in modules/memcache/src/MemcacheBackend.php
Performs garbage collection on a cache bin.

... See full list

File

core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 217
Contains \Drupal\Core\Cache\CacheBackendInterface.

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

public function garbageCollection();