16 class Config implements \Cm\RedisSession\Handler\ConfigInterface
148 private $deploymentConfig;
153 private $scopeConfig;
171 $this->appState = $appState;
172 $this->scopeConfig = $scopeConfig;
180 return $this->deploymentConfig->get(self::PARAM_LOG_LEVEL);
188 return $this->deploymentConfig->get(self::PARAM_HOST);
196 return $this->deploymentConfig->get(self::PARAM_PORT);
204 return $this->deploymentConfig->get(self::PARAM_DATABASE);
212 return $this->deploymentConfig->get(self::PARAM_PASSWORD);
220 return $this->deploymentConfig->get(self::PARAM_TIMEOUT);
228 return $this->deploymentConfig->get(self::PARAM_PERSISTENT_IDENTIFIER);
236 return $this->deploymentConfig->get(self::PARAM_COMPRESSION_THRESHOLD);
244 return $this->deploymentConfig->get(self::PARAM_COMPRESSION_LIBRARY);
252 return $this->deploymentConfig->get(self::PARAM_MAX_CONCURRENCY);
268 return $this->deploymentConfig->get(self::PARAM_MIN_LIFETIME);
276 return $this->deploymentConfig->get(self::PARAM_DISABLE_LOCKING);
284 return $this->deploymentConfig->get(self::PARAM_BOT_LIFETIME);
292 return $this->deploymentConfig->get(self::PARAM_BOT_FIRST_LIFETIME);
300 return $this->deploymentConfig->get(self::PARAM_FIRST_LIFETIME);
308 return $this->deploymentConfig->get(self::PARAM_BREAK_AFTER .
'_' . $this->appState->getAreaCode());
317 return (
int)$this->scopeConfig->getValue(self::XML_PATH_ADMIN_SESSION_LIFETIME);
319 return (
int)$this->scopeConfig->getValue(self::XML_PATH_COOKIE_LIFETIME, StoreScopeInterface::SCOPE_STORE);
327 return $this->deploymentConfig->get(self::PARAM_SENTINEL_SERVERS);
335 return $this->deploymentConfig->get(self::PARAM_SENTINEL_MASTER);
343 return $this->deploymentConfig->get(self::PARAM_SENTINEL_VERIFY_MASTER);
351 return $this->deploymentConfig->get(self::PARAM_SENTINEL_CONNECT_RETRIES);
const PARAM_SENTINEL_SERVERS
const PARAM_FIRST_LIFETIME
getSentinelVerifyMaster()
const PARAM_SENTINEL_CONNECT_RETRIES
const PARAM_MAX_CONCURRENCY
getPersistentIdentifier()
__construct(DeploymentConfig $deploymentConfig, State $appState, ScopeConfigInterface $scopeConfig)
const XML_PATH_ADMIN_SESSION_LIFETIME
const PARAM_SENTINEL_MASTER
const SESSION_MAX_LIFETIME
const PARAM_COMPRESSION_THRESHOLD
getSentinelConnectRetries()
const PARAM_BOT_FIRST_LIFETIME
const PARAM_SENTINEL_VERIFY_MASTER
const PARAM_PERSISTENT_IDENTIFIER
getCompressionThreshold()
const PARAM_COMPRESSION_LIBRARY
const PARAM_DISABLE_LOCKING
const XML_PATH_COOKIE_LIFETIME