Elgg
Version 6.1
|
Volatile cache for select queries. More...
Public Member Functions | |
__construct (protected Config $config) | |
Constructor. More... | |
purge () | |
{} More... | |
invalidate () | |
{} More... | |
clear () | |
{} More... | |
save (string $key, mixed $data, int|\DateTime $expire_after=null) | |
{} More... | |
load (string $key) | |
{} More... | |
delete (string $key) | |
{} More... | |
Public Member Functions inherited from Elgg\Cache\CacheService | |
purge () | |
Purges the caches. More... | |
invalidate () | |
Invalidates the caches. More... | |
clear () | |
Clears the caches. More... | |
save (string $key, mixed $data, int|\DateTime $expire_after=null) | |
Saves data in the cache. More... | |
load (string $key) | |
Retrieve the contents of a cached item. More... | |
delete (string $key) | |
Deletes the contents of a cached item. More... | |
isEnabled () | |
Is the cache enabled. More... | |
enable () | |
Enables the cache. More... | |
disable () | |
Disables the cache. More... | |
Protected Attributes | |
int | $query_cache_limit = 50 |
array | $keys = [] |
Protected Attributes inherited from Elgg\Cache\CacheService | |
CompositeCache | $cache |
bool | $enabled = true |
Volatile cache for select queries.
Definition at line 12 of file QueryCache.php.
Elgg\Cache\QueryCache::__construct | ( | protected Config | $config | ) |
Elgg\Cache\QueryCache::clear | ( | ) |
{}
Definition at line 55 of file QueryCache.php.
Elgg\Cache\QueryCache::delete | ( | string | $key | ) |
{}
Definition at line 93 of file QueryCache.php.
Elgg\Cache\QueryCache::invalidate | ( | ) |
{}
Definition at line 46 of file QueryCache.php.
Elgg\Cache\QueryCache::load | ( | string | $key | ) |
{}
Definition at line 80 of file QueryCache.php.
Elgg\Cache\QueryCache::purge | ( | ) |
{}
Definition at line 37 of file QueryCache.php.
Elgg\Cache\QueryCache::save | ( | string | $key, |
mixed | $data, | ||
int|\DateTime | $expire_after = null |
||
) |
{}
Definition at line 64 of file QueryCache.php.
|
protected |
Definition at line 16 of file QueryCache.php.
|
protected |
Definition at line 14 of file QueryCache.php.