com\setasign\SetaFramework\SimpleCache\Fastcache\Drivers\Predis
Config
File: /SetaFramework/src/SimpleCache/Fastcache/Drivers/Predis/Config.php
Class hierarchy
- Phpfastcache\Drivers\Predis\Config
Implements
- \Phpfastcache\Config\ConfigurationOptionInterface
- \Phpfastcache\Config\LockableConfigurationInterface
Summary
Methods
- __construct()
- enforceLockedProperty()
- getCacheSlamsTimeout()
- getClassName()
- getDatabase()
- getDefaultFileNameHashFunction()
- getDefaultKeyHashFunction()
- getDefaultSuperGlobalAccessor()
- getDefaultTtl()
- getHost()
- getOptPrefix()
- getPassword()
- getPath()
- getPort()
- getPredisClient()
- getPredisConfigArray()
- getScheme()
- getSuperGlobalAccessor()
- getTimeout()
- isAutoTmpFallback()
- isItemDetailedDate()
- isLocked()
- isPersistent()
- isPreventCacheSlams()
- isUseStaticItemCaching()
- isValidOption()
- isValueSerializable()
- lockedBy()
- setAutoTmpFallback()
- setCacheSlamsTimeout()
- setDatabase()
- setDefaultFileNameHashFunction()
- setDefaultKeyHashFunction()
- setDefaultTtl()
- setHost()
- setItemDetailedDate()
- setOptPrefix()
- setPassword()
- setPath()
- setPersistent()
- setPort()
- setPredisClient()
- setPreventCacheSlams()
- setProperty()
- setScheme()
- setSuperGlobalAccessor()
- setTimeout()
- setUseStaticItemCaching()
- toArray()
Properties
$defaultFileNameHashFunction
-
$defaultKeyHashFunction
-
$useStaticItemCaching
-
Methods
__construct()
-
Parameters
- $parameters : array<string, mixed>
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidConfigurationException
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidTypeException
enforceLockedProperty()
-
Parameters
- $propertyName : string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
getCacheSlamsTimeout()
-
WARNING: This method is marked as deprecated!
This method is deprecated and will be soon moved to IOConfigurationOption class, which means they will only be available for IO drivers.
getClassName()
-
getDefaultFileNameHashFunction()
-
getDefaultKeyHashFunction()
-
getDefaultSuperGlobalAccessor()
-
getPredisClient()
-
getPredisConfigArray()
-
getSuperGlobalAccessor()
-
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
isAutoTmpFallback()
-
isItemDetailedDate()
-
isPreventCacheSlams()
-
WARNING: This method is marked as deprecated!
This method is deprecated and will be soon moved to IOConfigurationOption class, which means they will only be available for IO drivers.
isUseStaticItemCaching()
-
isValidOption()
-
Parameters
- $optionName : string
isValueSerializable()
-
Parameters
- $val : mixed
Exceptions
Throws \ReflectionException
lockedBy()
-
setAutoTmpFallback()
-
Parameters
- $autoTmpFallback : bool
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setCacheSlamsTimeout()
-
WARNING: This method is marked as deprecated!
This method is deprecated and will be soon moved to IOConfigurationOption class, which means they will only be available for IO drivers.
Parameters
- $cacheSlamsTimeout : int
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setDatabase()
-
Parameters
- $database : int
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setDefaultFileNameHashFunction()
-
Parameters
- $defaultFileNameHashFunction : callable|string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidConfigurationException
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setDefaultKeyHashFunction()
-
Parameters
- $defaultKeyHashFunction : callable|string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidConfigurationException
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setDefaultTtl()
-
Parameters
- $defaultTtl : int
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setHost()
-
Parameters
- $host : string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setItemDetailedDate()
-
Parameters
- $itemDetailedDate : bool
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setOptPrefix()
-
Parameters
- $optPrefix : string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setPassword()
-
Parameters
- $password : string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setPath()
-
Parameters
- $path : string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setPersistent()
-
Parameters
- $persistent : bool
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setPort()
-
Parameters
- $port : int
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setPredisClient()
-
Parameters
- $predisClient : ?\Predis\Client
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setPreventCacheSlams()
-
WARNING: This method is marked as deprecated!
This method is deprecated and will be soon moved to IOConfigurationOption class, which means they will only be available for IO drivers.
Parameters
- $preventCacheSlams : bool
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setProperty()
-
mixed $propertyValue
Parameters
- $propertyName : string
- $propertyValue : mixed
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException
setScheme()
-
Parameters
- $scheme : string
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidConfigurationException
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setSuperGlobalAccessor()
-
Parameters
- $superGlobalAccessor : ?object
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setTimeout()
-
Parameters
- $timeout : int
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
setUseStaticItemCaching()
-
Parameters
- $useStaticItemCaching : bool
Exceptions
Throws \Phpfastcache\Exceptions\PhpfastcacheLogicException
