final class AppIdCache in Apigee Edge 8
Default app id cache implementation for app controller.
This cache stores app ids (UUIDs), app names must not be saved to this cache.
AppControllerInterface::getEntityIds() returns app ids (UUIDs).
Hierarchy
- class \Drupal\apigee_edge\Entity\Controller\Cache\EntityIdCache implements EntityIdCacheInterface
- class \Drupal\apigee_edge\Entity\Controller\Cache\AppIdCache implements EntityIdCacheInterface
Expanded class hierarchy of AppIdCache
See also
\Apigee\Edge\Api\Management\Controller\AppControllerInterface
1 file declares its use of AppIdCache
- AppController.php in src/
Entity/ Controller/ AppController.php
1 string reference to 'AppIdCache'
1 service uses AppIdCache
File
- src/
Entity/ Controller/ Cache/ AppIdCache.php, line 35
Namespace
Drupal\apigee_edge\Entity\Controller\CacheView source
final class AppIdCache extends EntityIdCache implements EntityIdCacheInterface {
/**
* {@inheritdoc}
*/
protected function getEntityId(EntityInterface $entity) : string {
/** @var \Apigee\Edge\Api\Management\Entity\AppInterface $entity */
return $entity
->getAppId();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AppIdCache:: |
protected | function |
Returns the unique id of an entity that getEntityIds() returns as well. Overrides EntityIdCache:: |
|
EntityIdCache:: |
private | property | Indicates whether all entity ids in cache all or not. | |
EntityIdCache:: |
private | property | Stored entity ids. | |
EntityIdCache:: |
final public | function |
Changes whether all ids in the cache or not. Overrides EntityIdCacheInterface:: |
|
EntityIdCache:: |
protected | function | Allows to perform additional tasks after entity ids got deleted from cache. | |
EntityIdCache:: |
protected | function | Allows to perform additional tasks after entity ids got saved to cache. | |
EntityIdCache:: |
final public | function |
Returns cached ids. Overrides EntityIdCacheInterface:: |
|
EntityIdCache:: |
final public | function |
Returns whether all entity ids in cache or not. Overrides EntityIdCacheInterface:: |
|
EntityIdCache:: |
final public | function |
Removes ids from the cache. Overrides EntityIdCacheInterface:: |
|
EntityIdCache:: |
final public | function |
Adds entities to the cache. Overrides EntityIdCacheInterface:: |
|
EntityIdCache:: |
final public | function |
Adds entity ids to the cache. Overrides EntityIdCacheInterface:: |
|
EntityIdCache:: |
public | function | Prevents data stored in entity id cache from being serialized. |