@Configuration
public class RedissonHttpSessionConfiguration
extends SpringHttpSessionConfiguration
implements org.springframework.context.annotation.ImportAware
Redisson instance should be registered as bean in application context.
| Constructor and Description |
|---|
RedissonHttpSessionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RedissonSessionRepository |
sessionRepository(RedissonClient redissonClient,
org.springframework.context.ApplicationEventPublisher eventPublisher) |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
void |
setKeyPrefix(String keyPrefix) |
void |
setMaxInactiveIntervalInSeconds(Integer maxInactiveIntervalInSeconds) |
@Bean public RedissonSessionRepository sessionRepository(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher)
public void setMaxInactiveIntervalInSeconds(Integer maxInactiveIntervalInSeconds)
public void setKeyPrefix(String keyPrefix)
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAwareCopyright © 2014–2018 The Redisson Project. All rights reserved.