DatabaseCacheTagsChecksum

Cache tags invalidations checksum implementation that uses the database.

Hierarchy

File

core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php, line 11

Namespace

Drupal\Core\Cache

Members

Name Modifiers Type Description
DatabaseCacheTagsChecksum::$connection protected property The database connection.
DatabaseCacheTagsChecksum::$invalidatedTags protected property A list of tags that have already been invalidated in this request.
DatabaseCacheTagsChecksum::$tagCache protected property Contains already loaded cache invalidations from the database.
DatabaseCacheTagsChecksum::calculateChecksum protected function Calculates the current checksum for a given set of tags.
DatabaseCacheTagsChecksum::catchException protected function Act on an exception when cache might be stale.
DatabaseCacheTagsChecksum::ensureTableExists protected function Check if the cache tags table exists and create it if not.
DatabaseCacheTagsChecksum::getCurrentChecksum public function Returns the sum total of validations for a given set of tags. Overrides CacheTagsChecksumInterface::getCurrentChecksum
DatabaseCacheTagsChecksum::invalidateTags public function Marks cache items with any of the specified tags as invalid. Overrides CacheTagsInvalidatorInterface::invalidateTags
DatabaseCacheTagsChecksum::isValid public function Returns whether the checksum is valid for the given cache tags. Overrides CacheTagsChecksumInterface::isValid
DatabaseCacheTagsChecksum::reset public function Reset statically cached tags. Overrides CacheTagsChecksumInterface::reset
DatabaseCacheTagsChecksum::schemaDefinition public function Defines the schema for the {cachetags} table.
DatabaseCacheTagsChecksum::__construct public function Constructs a DatabaseCacheTagsChecksum object.
doc_Drupal
2016-10-29 08:59:42
Comments
Leave a Comment

Please login to continue.