RedisIndexedSessionRepository
@Deprecated public class RedisOperationsSessionRepository extends RedisIndexedSessionRepository
SessionRepository
implementation is kept in order to support migration to
RedisIndexedSessionRepository
in a backwards compatible manner.DEFAULT_DATABASE, DEFAULT_NAMESPACE
PRINCIPAL_NAME_INDEX_NAME
Constructor and Description |
---|
RedisOperationsSessionRepository(org.springframework.data.redis.core.RedisOperations<java.lang.Object,java.lang.Object> sessionRedisOperations)
Deprecated.
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setRedisFlushMode(RedisFlushMode redisFlushMode)
Deprecated.
since 2.2.0 in favor of
RedisIndexedSessionRepository.setFlushMode(FlushMode) |
cleanupExpiredSessions, createSession, deleteById, findById, findByIndexNameAndIndexValue, getSessionCreatedChannelPrefix, getSessionDeletedChannel, getSessionExpiredChannel, getSessionRedisOperations, onMessage, save, setApplicationEventPublisher, setDatabase, setDefaultMaxInactiveInterval, setDefaultSerializer, setFlushMode, setIndexResolver, setRedisKeyNamespace, setSaveMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findByPrincipalName
public RedisOperationsSessionRepository(org.springframework.data.redis.core.RedisOperations<java.lang.Object,java.lang.Object> sessionRedisOperations)
sessionRedisOperations
- the RedisOperations
to use for managing the
sessions. Cannot be null.RedisIndexedSessionRepository(RedisOperations)
@Deprecated public void setRedisFlushMode(RedisFlushMode redisFlushMode)
RedisIndexedSessionRepository.setFlushMode(FlushMode)
RedisFlushMode.ON_SAVE
.redisFlushMode
- the new redis flush mode