Cache

class OC\Memcache\Cache
Source:lib/private/Memcache/Cache.php#28
Implements:ArrayAccess OCP\ICache

Properties

protected static property OC\Memcache\Cache::$prefix
Source:lib/private/Memcache/Cache.php#32
Type:string

Methods

public OC\Memcache\Cache::__construct($prefix="")
Source:

lib/private/Memcache/Cache.php#37

Parameters:
  • $prefix (string)
public OC\Memcache\Cache::getPrefix()
Source:lib/private/Memcache/Cache.php#44
Returns:string Prefix used for caching purposes
public abstract OC\Memcache\Cache::get($key)
Source:

lib/private/Memcache/Cache.php#52

Parameters:
  • $key (string)
Returns:

mixed

public abstract OC\Memcache\Cache::set($key, $value, $ttl=0)
Source:

lib/private/Memcache/Cache.php#60

Parameters:
  • $key (string)
  • $value (mixed)
  • $ttl (int)
Returns:

mixed

public abstract OC\Memcache\Cache::hasKey($key)
Source:

lib/private/Memcache/Cache.php#66

Parameters:
  • $key (string)
Returns:

mixed

public abstract OC\Memcache\Cache::remove($key)
Source:

lib/private/Memcache/Cache.php#72

Parameters:
  • $key (string)
Returns:

mixed

public abstract OC\Memcache\Cache::clear($prefix="")
Source:

lib/private/Memcache/Cache.php#78

Parameters:
  • $prefix (string)
Returns:

mixed

public OC\Memcache\Cache::offsetExists($offset)
Source:lib/private/Memcache/Cache.php#82
public OC\Memcache\Cache::offsetSet($offset, $value)
Source:lib/private/Memcache/Cache.php#86
public OC\Memcache\Cache::offsetGet($offset)
Source:lib/private/Memcache/Cache.php#90
public OC\Memcache\Cache::offsetUnset($offset)
Source:lib/private/Memcache/Cache.php#94