Class RedisSessionProperties
java.lang.Object
org.springframework.boot.autoconfigure.session.RedisSessionProperties
@ConfigurationProperties(prefix="spring.session.redis")
public class RedisSessionProperties
extends Object
Configuration properties for Redis backed Spring Session.
- Since:
- 2.0.0
- Author:
- Vedran Pavic
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Strategies for configuring and validating Redis.static enum
Type of Redis session repository to auto-configure. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.session.FlushMode
org.springframework.session.SaveMode
void
setCleanupCron
(String cleanupCron) void
setConfigureAction
(RedisSessionProperties.ConfigureAction configureAction) void
setFlushMode
(org.springframework.session.FlushMode flushMode) void
setNamespace
(String namespace) void
setRepositoryType
(RedisSessionProperties.RepositoryType repositoryType) void
setSaveMode
(org.springframework.session.SaveMode saveMode)
-
Constructor Details
-
RedisSessionProperties
public RedisSessionProperties()
-
-
Method Details
-
getNamespace
-
setNamespace
-
getFlushMode
public org.springframework.session.FlushMode getFlushMode() -
setFlushMode
public void setFlushMode(org.springframework.session.FlushMode flushMode) -
getSaveMode
public org.springframework.session.SaveMode getSaveMode() -
setSaveMode
public void setSaveMode(org.springframework.session.SaveMode saveMode) -
getCleanupCron
-
setCleanupCron
-
getConfigureAction
-
setConfigureAction
-
getRepositoryType
-
setRepositoryType
-