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: 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: Parameters: - $key (string)
Returns: mixed
-
public abstract
OC\Memcache\Cache::
set
($key, $value, $ttl=0)¶ Source: Parameters: - $key (string)
- $value (mixed)
- $ttl (int)
Returns: mixed
-
public abstract
OC\Memcache\Cache::
hasKey
($key)¶ Source: Parameters: - $key (string)
Returns: mixed
-
public abstract
OC\Memcache\Cache::
remove
($key)¶ Source: Parameters: - $key (string)
Returns: mixed
-
public abstract
OC\Memcache\Cache::
clear
($prefix="")¶ Source: 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