3 namespace Drupal\Component\FileCache;
6 * Defines an interface inspired by APCu for FileCache backends.
8 interface FileCacheBackendInterface {
11 * Fetches data from the cache backend.
14 * The cache IDs to fetch.
17 * An array containing cache entries keyed by cache ID.
19 public function fetch(array $cids);
22 * Stores data into a cache backend.
25 * The cache ID to store data to.
29 public function store($cid, $data);
32 * Deletes data from a cache backend.
35 * The cache ID to delete.
37 public function delete($cid);