You are here

public function ApcuRawBackend::garbageCollection in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/Cache/ApcuRawBackend.php \Drupal\supercache\Cache\ApcuRawBackend::garbageCollection()

Performs garbage collection on a cache bin.

The backend may choose to delete expired or invalidated items.

Overrides CacheRawBackendInterface::garbageCollection

File

src/Cache/ApcuRawBackend.php, line 223
Contains \Drupal\supercache\Cache\ApcuRawBackend.

Class

ApcuRawBackend
Stores cache items in the Alternative PHP Cache User Cache (APCu).

Namespace

Drupal\supercache\Cache

Code

public function garbageCollection() {

  // APC items expire automatically.
}