Class RedisSession


  • public class RedisSession
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RedisSession​(io.lettuce.core.AbstractRedisClient client, io.lettuce.core.api.StatefulConnection connection, io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],​byte[]> asyncCommands)  
    • Constructor Detail

      • RedisSession

        public RedisSession​(io.lettuce.core.AbstractRedisClient client,
                            io.lettuce.core.api.StatefulConnection connection,
                            io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],​byte[]> asyncCommands)
    • Method Detail

      • client

        public io.lettuce.core.AbstractRedisClient client()
      • connection

        public io.lettuce.core.api.StatefulConnection connection()
      • asyncCommands

        public io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands<byte[],​byte[]> asyncCommands()
      • close

        public void close()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception