aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/imemcache.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-06-08 15:25:23 +0200
committerRobin Appelman <icewind@owncloud.com>2015-06-12 17:28:09 +0200
commitac9f998abdceb21fbbda4e8dee0e8b16c2f5ec4e (patch)
tree844d7641ee0bc74edc874af3a0418cf175ac2b53 /lib/public/imemcache.php
parent1bc56a99e9e368091753ff79facf930336478a35 (diff)
downloadnextcloud-server-ac9f998abdceb21fbbda4e8dee0e8b16c2f5ec4e.tar.gz
nextcloud-server-ac9f998abdceb21fbbda4e8dee0e8b16c2f5ec4e.zip
add compare-and-delete to the memcache interface
Diffstat (limited to 'lib/public/imemcache.php')
-rw-r--r--lib/public/imemcache.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/imemcache.php b/lib/public/imemcache.php
index f8b898e54c6..a1a00791b63 100644
--- a/lib/public/imemcache.php
+++ b/lib/public/imemcache.php
@@ -76,4 +76,14 @@ interface IMemcache extends ICache {
* @since 8.1.0
*/
public function cas($key, $old, $new);
+
+ /**
+ * Compare and delete
+ *
+ * @param string $key
+ * @param mixed $old
+ * @return bool
+ * @since 8.1.0
+ */
+ public function cad($key, $old);
}