CASTrait

trait OC\Memcache\CASTrait
Source:lib/private/Memcache/CASTrait.php#25

Methods

public abstract OC\Memcache\CASTrait::get($key)
Source:lib/private/Memcache/CASTrait.php#26
public abstract OC\Memcache\CASTrait::set($key, $value, $ttl=0)
Source:lib/private/Memcache/CASTrait.php#28
public abstract OC\Memcache\CASTrait::remove($key)
Source:lib/private/Memcache/CASTrait.php#30
public abstract OC\Memcache\CASTrait::add($key, $value, $ttl=0)
Source:lib/private/Memcache/CASTrait.php#32
public OC\Memcache\CASTrait::cas($key, $old, $new)
Compare and set
Source:

lib/private/Memcache/CASTrait.php#42

Parameters:
  • $key (string)
  • $old (mixed)
  • $new (mixed)
Returns:

bool