diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-03-13 18:18:04 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-03-13 18:18:04 +0100 |
commit | dde5353f98668132f2a98312530b70029b07f30e (patch) | |
tree | 28b94c184caf91a3af13468768181613775f7dc5 /lib/public/ICacheFactory.php | |
parent | 274106b80bba79103b24d0291822a2e8faa50d20 (diff) | |
download | nextcloud-server-dde5353f98668132f2a98312530b70029b07f30e.tar.gz nextcloud-server-dde5353f98668132f2a98312530b70029b07f30e.zip |
Properly provide local memcache check to ICacheFactory
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/ICacheFactory.php')
-rw-r--r-- | lib/public/ICacheFactory.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/ICacheFactory.php b/lib/public/ICacheFactory.php index 76145fe1f78..a078543b092 100644 --- a/lib/public/ICacheFactory.php +++ b/lib/public/ICacheFactory.php @@ -52,6 +52,14 @@ interface ICacheFactory{ public function isAvailable(): bool; /** + * Check if a local memory cache backend is available + * + * @return bool + * @since 14.0.0 + */ + public function isLocalCacheAvailable(): bool; + + /** * create a cache instance for storing locks * * @param string $prefix |