Class CachingConfig
- java.lang.Object
-
- de.hybris.platform.servicelayer.web.session.stale.impl.CachingConfig
-
- All Implemented Interfaces:
StaleSessionConfig
public class CachingConfig extends java.lang.Object implements StaleSessionConfig
-
-
Constructor Summary
Constructors Constructor Description CachingConfig(StaleSessionConfig targetConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisStaleSessionCheckingEnabled(java.lang.String extensionName)Checks if stale session is enabled.voidsetTtlSeconds(int ttlSeconds)
-
-
-
Constructor Detail
-
CachingConfig
public CachingConfig(StaleSessionConfig targetConfig)
-
-
Method Detail
-
isStaleSessionCheckingEnabled
public boolean isStaleSessionCheckingEnabled(java.lang.String extensionName)
Description copied from interface:StaleSessionConfigChecks if stale session is enabled.- Specified by:
isStaleSessionCheckingEnabledin interfaceStaleSessionConfig- Parameters:
extensionName- extension name. Whennullglobal configuration is returned.- Returns:
trueif stale session is enabled for given extension,falseotherwise.
-
setTtlSeconds
public void setTtlSeconds(int ttlSeconds)
-
-