Package org.redisson.spring.session
Class RedissonSessionRepository
java.lang.Object
org.redisson.spring.session.RedissonSessionRepository
- All Implemented Interfaces:
EventListener
,PatternMessageListener<String>
,org.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
,org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
@Deprecated
public class RedissonSessionRepository
extends Object
implements org.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>, PatternMessageListener<String>
Deprecated.
Deprecated. Use spring-session implementation based on Redisson Redis Data module
- Author:
- Nikita Koksharov
-
Field Summary
Fields inherited from interface org.springframework.session.FindByIndexNameSessionRepository
PRINCIPAL_NAME_INDEX_NAME
-
Constructor Summary
ConstructorDescriptionRedissonSessionRepository
(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher) Deprecated.RedissonSessionRepository
(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher, String keyPrefix) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.redisson.spring.session.RedissonSessionRepository.RedissonSession
Deprecated.void
deleteById
(String id) Deprecated.org.redisson.spring.session.RedissonSessionRepository.RedissonSession
Deprecated.findByIndexNameAndIndexValue
(String indexName, String indexValue) Deprecated.void
onMessage
(CharSequence pattern, CharSequence channel, String body) Deprecated.Invokes on every message in topicvoid
save
(org.redisson.spring.session.RedissonSessionRepository.RedissonSession session) Deprecated.void
setDefaultMaxInactiveInterval
(int defaultMaxInactiveInterval) Deprecated.void
setKeyPrefix
(String keyPrefix) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.session.FindByIndexNameSessionRepository
findByPrincipalName
-
Constructor Details
-
RedissonSessionRepository
public RedissonSessionRepository(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher, String keyPrefix) Deprecated. -
RedissonSessionRepository
public RedissonSessionRepository(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher) Deprecated.
-
-
Method Details
-
onMessage
Deprecated.Description copied from interface:PatternMessageListener
Invokes on every message in topic- Specified by:
onMessage
in interfacePatternMessageListener<String>
- Parameters:
pattern
- of channel namechannel
- of topicbody
- topic message
-
setDefaultMaxInactiveInterval
public void setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval) Deprecated. -
createSession
public org.redisson.spring.session.RedissonSessionRepository.RedissonSession createSession()Deprecated.- Specified by:
createSession
in interfaceorg.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
-
save
public void save(org.redisson.spring.session.RedissonSessionRepository.RedissonSession session) Deprecated.- Specified by:
save
in interfaceorg.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
-
findById
Deprecated.- Specified by:
findById
in interfaceorg.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
-
deleteById
Deprecated.- Specified by:
deleteById
in interfaceorg.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
-
setKeyPrefix
Deprecated. -
findByIndexNameAndIndexValue
public Map<String,org.redisson.spring.session.RedissonSessionRepository.RedissonSession> findByIndexNameAndIndexValue(String indexName, String indexValue) Deprecated.- Specified by:
findByIndexNameAndIndexValue
in interfaceorg.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
-