mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:44:26 +02:00
Add getStats() method for MemoryCaches
This commit is contained in:
parent
ffb621f0e4
commit
01296e98f9
12 changed files with 170 additions and 0 deletions
|
@ -53,4 +53,11 @@ interface ICanCacheInMemory extends ICanCache
|
|||
* @throws CachePersistenceException In case the underlying cache driver has errors during persistence
|
||||
*/
|
||||
public function compareDelete(string $key, $value): bool;
|
||||
|
||||
/**
|
||||
* Returns some basic statistics of the used Cache instance
|
||||
*
|
||||
* @return array Returns an associative array of statistics
|
||||
*/
|
||||
public function getStats(): array;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue