You are here

public function AppCacheByOwner::allEntitiesInCache in Apigee Edge 8

Changes whether all entities in the cache or not.

Parameters

bool $all_entities_in_cache: State to be set.

Overrides EntityCacheInterface::allEntitiesInCache

1 call to AppCacheByOwner::allEntitiesInCache()
AppCacheByOwner::removeEntities in src/Entity/Controller/Cache/AppCacheByOwner.php
Removes entities from the cache by their ids.

File

src/Entity/Controller/Cache/AppCacheByOwner.php, line 134

Class

AppCacheByOwner
Default cache store for apps of a specific owner.

Namespace

Drupal\apigee_edge\Entity\Controller\Cache

Code

public function allEntitiesInCache(bool $all_entities_in_cache) : void {
  $this->allEntitiesInCache = $all_entities_in_cache;
  $this->appNameCache
    ->allIdsInCache($all_entities_in_cache);
}