SimpleCacheManagerInterface
interface SimpleCacheManagerInterface implements CacheInterface (View source)
Constants
PICK_FIRST |
Select the first (enabled) provider in queue, do not traverse the queue. |
PICK_LAST |
Select the last (enabled) provider in queue, do not traverse the queue. |
PICK_RANDOM |
Select a random (enabled) provider in queue, do not traverse the queue. |
PICK_BYWEIGHT |
Select by weight, stop at first enabled provider. |
PICK_ALL |
Ask to all (enabled) providers and match responses. |
PICK_TRAVERSE |
Select the first (enabled) provider, in case of null response traverse the queue. |
Methods
getNamespace()
No description
setNamespace($namespace)
No description
clearNamespace()
No description
removeProvider($id)
No description
getProvider($id)
No description
getProviders($enabled)
No description
getSelectedProvider()
get the last selected provider
CacheItemPoolManagerStats
getStats()
Get stats from all providers
Details
at line 55
getNamespace()
at line 57
setNamespace($namespace)
at line 59
clearNamespace()
at line 61
addProvider(EnhancedSimpleCacheInterface $provider, $weight)
at line 63
removeProvider($id)
at line 65
getProvider($id)
at line 67
getProviders($enabled)
at line 75
getSelectedProvider()
get the last selected provider
at line 83
CacheItemPoolManagerStats
getStats()
Get stats from all providers