Manager
class Manager extends AbstractProvider implements SimpleCacheManagerInterface (View source)
Traits
Constants
DEFAULT_PICK_MODE |
|
Properties
protected LoggerInterface | $logger | Current logger | from AbstractProvider |
protected | $driver | from AbstractProvider | |
protected string | $namespace | Determine the current cache scope (default: GLOBAL) | from NamespaceTrait |
protected | $pick_mode | ||
protected | $stack | ||
protected | $align_cache | ||
protected | $vacuum | ||
protected | $selected |
Methods
__construct($pick_mode = null, LoggerInterface $logger = null, $align_cache = true, $flap_interval = null)
Class constructor
get($key, $default = null)
No description
set($key, $value, $ttl = null)
No description
delete($key)
No description
getMultiple($keys, $default = null)
No description
setMultiple($values, $ttl = null)
No description
deleteMultiple($keys)
No description
has($key)
No description
static
createFromConfiguration(Configuration $configuration, LoggerInterface $logger, $stanza = null)
No description
selectFrom($mode, $key, $default = null)
No description
fromSingleProvider($mode, $key, $default)
No description
fromAllProviders($mode, $key, $default)
No description
traverse($mode, $key, $default)
No description
Details
at line 50
__construct($pick_mode = null, LoggerInterface $logger = null, $align_cache = true, $flap_interval = null)
Class constructor
in AbstractProvider at line 48
getLogger()
{@inheritdoc}
in AbstractProvider at line 57
setLogger(LoggerInterface $logger = null)
{@inheritdoc}
at line 80
get($key, $default = null)
at line 86
set($key, $value, $ttl = null)
at line 113
delete($key)
in GenericManagerTrait at line 53
clear()
at line 133
getMultiple($keys, $default = null)
at line 139
setMultiple($values, $ttl = null)
at line 159
deleteMultiple($keys)
at line 179
has($key)
in NamespaceTrait at line 34
getNamespace()
{@inheritdoc}