Class RedissonSessionRepository

  • All Implemented Interfaces:
    , >, org.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>, org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>

    public class RedissonSessionRepository
    extends 
    implements org.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>, >
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.redisson.spring.session.RedissonSessionRepository.RedissonSession createSession()
      Deprecated.
       
      void  id)
      Deprecated.
       
      org.redisson.spring.session.RedissonSessionRepository.RedissonSession  id)
      Deprecated.
       
      <,​org.redisson.spring.session.RedissonSessionRepository.RedissonSession>  indexName,  indexValue)
      Deprecated.
       
      void  pattern,  channel,  body)
      Deprecated.
      Invokes on every message in topic
      void save​(org.redisson.spring.session.RedissonSessionRepository.RedissonSession session)
      Deprecated.
       
      void setDefaultMaxInactiveInterval​(int defaultMaxInactiveInterval)
      Deprecated.
       
      void  keyPrefix)
      Deprecated.
       
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
      • Methods inherited from interface org.springframework.session.FindByIndexNameSessionRepository

        findByPrincipalName
    • Constructor Detail

      • RedissonSessionRepository

        public RedissonSessionRepository​(RedissonClient redissonClient,
                                         org.springframework.context.ApplicationEventPublisher eventPublisher,
                                          keyPrefix)
        Deprecated.
      • RedissonSessionRepository

        public RedissonSessionRepository​(RedissonClient redissonClient,
                                         org.springframework.context.ApplicationEventPublisher eventPublisher)
        Deprecated.
    • Method Detail

      • onMessage

        public void onMessage​( pattern,
                               channel,
                               body)
        Deprecated.
        Description copied from interface: PatternMessageListener
        Invokes on every message in topic
        Specified by:
        >
        Parameters:
        pattern - of channel name
        channel - of topic
        body - topic message
      • setDefaultMaxInactiveInterval

        public void setDefaultMaxInactiveInterval​(int defaultMaxInactiveInterval)
        Deprecated.
      • createSession

        public org.redisson.spring.session.RedissonSessionRepository.RedissonSession createSession()
        Deprecated.
        Specified by:
        createSession in interface org.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 interface org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
      • findById

        public org.redisson.spring.session.RedissonSessionRepository.RedissonSession findById​( id)
        Deprecated.
        Specified by:
        findById in interface org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
      • deleteById

        public void deleteById​( id)
        Deprecated.
        Specified by:
        deleteById in interface org.springframework.session.SessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>
      • setKeyPrefix

        public void setKeyPrefix​( keyPrefix)
        Deprecated.
      • findByIndexNameAndIndexValue

        public <,​org.redisson.spring.session.RedissonSessionRepository.RedissonSession> findByIndexNameAndIndexValue​( indexName,
                                                                                                                                     indexValue)
        Deprecated.
        Specified by:
        findByIndexNameAndIndexValue in interface org.springframework.session.FindByIndexNameSessionRepository<org.redisson.spring.session.RedissonSessionRepository.RedissonSession>