CappedMemoryCache¶
-
class
OC\Cache\
CappedMemoryCache
¶ - In-memory cache with a capacity limit to keep memory usage in checkUses a simple FIFO expiry mechanism
Source: lib/private/Cache/CappedMemoryCache.php#32 Implements: OCP\ICache
ArrayAccess
Properties¶
Methods¶
-
public
OC\Cache\CappedMemoryCache::
__construct
($capacity=512)¶ Source: lib/private/Cache/CappedMemoryCache.php#36
-
public
OC\Cache\CappedMemoryCache::
hasKey
($key)¶ Source: lib/private/Cache/CappedMemoryCache.php#40
-
public
OC\Cache\CappedMemoryCache::
get
($key)¶ Source: lib/private/Cache/CappedMemoryCache.php#44
-
public
OC\Cache\CappedMemoryCache::
set
($key, $value, $ttl=0)¶ Source: lib/private/Cache/CappedMemoryCache.php#48
-
public
OC\Cache\CappedMemoryCache::
remove
($key)¶ Source: lib/private/Cache/CappedMemoryCache.php#57
-
public
OC\Cache\CappedMemoryCache::
clear
($prefix="")¶ Source: lib/private/Cache/CappedMemoryCache.php#62
-
public
OC\Cache\CappedMemoryCache::
offsetExists
($offset)¶ Source: lib/private/Cache/CappedMemoryCache.php#67
-
public
OC\Cache\CappedMemoryCache::
offsetGet
($offset)¶ Source: lib/private/Cache/CappedMemoryCache.php#71
-
public
OC\Cache\CappedMemoryCache::
offsetSet
($offset, $value)¶ Source: lib/private/Cache/CappedMemoryCache.php#75
-
public
OC\Cache\CappedMemoryCache::
offsetUnset
($offset)¶ Source: lib/private/Cache/CappedMemoryCache.php#79
-
public
OC\Cache\CappedMemoryCache::
getData
()¶ Source: lib/private/Cache/CappedMemoryCache.php#83