@Deprecated public class RedissonSessionRepository extends Object implements org.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>, PatternMessageListener<String>
Constructor and Description |
---|
RedissonSessionRepository(RedissonClient redissonClient,
org.springframework.context.ApplicationEventPublisher eventPublisher)
Deprecated.
|
RedissonSessionRepository(RedissonClient redissonClient,
org.springframework.context.ApplicationEventPublisher eventPublisher,
String keyPrefix)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.redisson.spring.session.RedissonSessionRepository.RedissonSession |
createSession()
Deprecated.
|
void |
deleteById(String id)
Deprecated.
|
org.redisson.spring.session.RedissonSessionRepository.RedissonSession |
findById(String id)
Deprecated.
|
Map<String,org.redisson.spring.session.RedissonSessionRepository.RedissonSession> |
findByIndexNameAndIndexValue(String indexName,
String indexValue)
Deprecated.
|
void |
onMessage(CharSequence pattern,
CharSequence channel,
String body)
Deprecated.
Invokes on every message in topic
|
void |
save(org.redisson.spring.session.RedissonSessionRepository.RedissonSession session)
Deprecated.
|
void |
setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval)
Deprecated.
|
void |
setKeyPrefix(String keyPrefix)
Deprecated.
|
public RedissonSessionRepository(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher, String keyPrefix)
public RedissonSessionRepository(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher)
public void onMessage(CharSequence pattern, CharSequence channel, String body)
PatternMessageListener
onMessage
in interface PatternMessageListener<String>
pattern
- of channel namechannel
- of topicbody
- topic messagepublic void setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval)
public org.redisson.spring.session.RedissonSessionRepository.RedissonSession createSession()
createSession
in interface org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
public void save(org.redisson.spring.session.RedissonSessionRepository.RedissonSession session)
save
in interface org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
public org.redisson.spring.session.RedissonSessionRepository.RedissonSession findById(String id)
findById
in interface org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
public void deleteById(String id)
deleteById
in interface org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
public void setKeyPrefix(String keyPrefix)
public Map<String,org.redisson.spring.session.RedissonSessionRepository.RedissonSession> findByIndexNameAndIndexValue(String indexName, String indexValue)
findByIndexNameAndIndexValue
in interface org.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
Copyright © 2014–2021 Redisson. All rights reserved.