summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-03-13 21:27:24 +0100
committerGitHub <noreply@github.com>2018-03-13 21:27:24 +0100
commit76d23a16006d0a05f3d6bd1cb29b873674162970 (patch)
tree27d204f0095846b1723e4d35f6765bf4e980fbfe /lib/public
parentede723f1b19c4c1afb7627af85c1e2f8d8a31386 (diff)
parentdde5353f98668132f2a98312530b70029b07f30e (diff)
downloadnextcloud-server-76d23a16006d0a05f3d6bd1cb29b873674162970.tar.gz
nextcloud-server-76d23a16006d0a05f3d6bd1cb29b873674162970.zip
Merge pull request #8806 from nextcloud/add-local-memcache-check
Properly provide local memcache check to ICacheFactory
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/ICacheFactory.php8
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