Search for collect
- Search 7.x for collect
- Search 9.5.x for collect
- Search 8.9.x for collect
- Search 11.x for collect
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
CacheCollector::set | function | core/ |
Implements \Drupal\Core\Cache\CacheCollectorInterface::set(). |
CacheCollector::updateCache | function | core/ |
Writes a value to the persistent cache immediately. |
CacheCollector::__construct | function | core/ |
Constructs a CacheCollector object. |
CacheCollectorHelper | class | core/ |
Helper class to test the cache collector. |
CacheCollectorHelper.php | file | core/ |
|
CacheCollectorHelper::$cacheMissData | property | core/ |
Contains data to return on a cache miss. |
CacheCollectorHelper::$cacheMisses | property | core/ |
Number of calls to \Drupal\Core\Cache\CacheCollector::resolveCacheMiss(). |
CacheCollectorHelper::getCacheMisses | function | core/ |
Returns the number of cache misses. |
CacheCollectorHelper::normalizeLockName | function | core/ |
Normalizes a cache ID in order to comply with database limitations. |
CacheCollectorHelper::resolveCacheMiss | function | core/ |
Resolves a cache miss. |
CacheCollectorHelper::set | function | core/ |
Implements \Drupal\Core\Cache\CacheCollectorInterface::set(). |
CacheCollectorHelper::setCacheCreated | function | core/ |
Setter for the cacheCreated property for use in unit tests. |
CacheCollectorHelper::setCacheMissData | function | core/ |
Sets data to return from a cache miss resolve. |
CacheCollectorInterface | interface | core/ |
Provides a caching wrapper to be used in place of large structures. |
CacheCollectorInterface.php | file | core/ |
|
CacheCollectorInterface::clear | function | core/ |
Clears the collected cache entry. |
CacheCollectorInterface::delete | function | core/ |
Deletes the element. |
CacheCollectorInterface::get | function | core/ |
Gets value from the cache. |
CacheCollectorInterface::has | function | core/ |
Returns whether data exists for this key. |
CacheCollectorInterface::reset | function | core/ |
Resets the local cache. |
CacheCollectorInterface::set | function | core/ |
Sets cache data. |
CacheCollectorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\CacheCollector @group Cache |
CacheCollectorTest | class | core/ |
Tests DatabaseBackend cache tag implementation. |
CacheCollectorTest.php | file | core/ |
|
CacheCollectorTest.php | file | core/ |
|
CacheCollectorTest::$cacheBackend | property | core/ |
The cache backend that should be used. |
CacheCollectorTest::$cacheTagsInvalidator | property | core/ |
The cache tags invalidator. |
CacheCollectorTest::$cid | property | core/ |
The cache id used for the test. |
CacheCollectorTest::$collector | property | core/ |
Cache collector implementation to test. |
CacheCollectorTest::$lock | property | core/ |
The lock backend that should be used. |
CacheCollectorTest::providerTestInvalidCharacters | function | core/ |
Data provider for ::testCacheCollector(). |
CacheCollectorTest::register | function | core/ |
Registers test-specific services. |
CacheCollectorTest::setUp | function | core/ |
|
CacheCollectorTest::testCacheCollector | function | core/ |
Tests setting and invalidating. |
CacheCollectorTest::testDelete | function | core/ |
Tests setting and deleting values. |
CacheCollectorTest::testDeprecatedNormalizeLockName | function | core/ |
@group legacy |
CacheCollectorTest::testGetFromCache | function | core/ |
Tests returning value from the collected cache. |
CacheCollectorTest::testResolveCacheMiss | function | core/ |
Tests the resolve cache miss function. |
CacheCollectorTest::testSetAndGet | function | core/ |
Tests setting and getting values when the cache is empty. |
CacheCollectorTest::testSetAndGetNull | function | core/ |
Makes sure that NULL is a valid value and is collected. |
CacheCollectorTest::testUpdateCache | function | core/ |
Tests updating the cache after a set. |
CacheCollectorTest::testUpdateCacheClear | function | core/ |
Tests a clear of the cache collector. |
CacheCollectorTest::testUpdateCacheClearTags | function | core/ |
Tests a clear of the cache collector using tags. |
CacheCollectorTest::testUpdateCacheDelete | function | core/ |
Tests updating the cache after a delete. |
CacheCollectorTest::testUpdateCacheInvalidatedConflict | function | core/ |
Tests updating the cache when there is a conflict after cache invalidation. |
CacheCollectorTest::testUpdateCacheLockFail | function | core/ |
Tests updating the cache when the lock acquire fails. |
CacheCollectorTest::testUpdateCacheMerge | function | core/ |
Tests a cache hit, then item updated by a different request. |
CacheCollectorTest::testUpdateCacheNoChanges | function | core/ |
Tests updating the cache when no changes were made. |
CacheCollectorTest::testUpdateCacheRace | function | core/ |
Tests a cache miss, then item created by another request. |
CacheCollectorTest::testUpdateCacheReset | function | core/ |
Tests a reset of the cache collector. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.