Class RedisClusterCacheStorager<T extends Cacheable>

  • All Implemented Interfaces:
    CacheStorager<T>

    public class RedisClusterCacheStorager<T extends Cacheable>
    extends Object
    implements CacheStorager<T>
    用Redis(集群)保存缓存对象(推荐使用)
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • RedisClusterCacheStorager

        public RedisClusterCacheStorager​(Set<redis.clients.jedis.HostAndPort> nodes)
      • RedisClusterCacheStorager

        public RedisClusterCacheStorager​(Set<redis.clients.jedis.HostAndPort> nodes,
                                         redis.clients.jedis.JedisPoolConfig poolConfig)
      • RedisClusterCacheStorager

        public RedisClusterCacheStorager​(Set<redis.clients.jedis.HostAndPort> nodes,
                                         int connectionTimeout,
                                         int soTimeout,
                                         int maxRedirections,
                                         redis.clients.jedis.JedisPoolConfig poolConfig)
      • RedisClusterCacheStorager

        public RedisClusterCacheStorager​(redis.clients.jedis.JedisCluster jedisCluster)