Config_LRU deprecated
class Config_LRU (View source)
deprecated
Constants
SIZE |
|
Methods
__construct()
No description
__clone()
No description
set($key, $val, $tags = array())
No description
stats()
No description
variant
get(string $key)
Return a cached value in the case of a hit, false otherwise.
array
checkAndGet(string $key)
Checks for a cache hit and looks up the value by returning multiple values.
clean($tag = null)
No description
Details
__construct()
__clone()
set($key, $val, $tags = array())
stats()
variant
get(string $key)
Return a cached value in the case of a hit, false otherwise.
For a more robust cache checking, use {@link checkAndGet()}
array
checkAndGet(string $key)
Checks for a cache hit and looks up the value by returning multiple values.
Distinguishes a cached 'false' value from a cache miss.