Class RedisCacheStorager<T extends Cacheable>

  • All Implemented Interfaces:
    CacheStorager<T>

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

      • RedisCacheStorager

        public RedisCacheStorager()
      • RedisCacheStorager

        public RedisCacheStorager​(String host,
                                  int port,
                                  int timeout)
      • RedisCacheStorager

        public RedisCacheStorager​(String host,
                                  int port,
                                  int timeout,
                                  String password)
      • RedisCacheStorager

        public RedisCacheStorager​(redis.clients.jedis.JedisPoolConfig poolConfig)
      • RedisCacheStorager

        public RedisCacheStorager​(String host,
                                  int port,
                                  int timeout,
                                  String password,
                                  redis.clients.jedis.JedisPoolConfig poolConfig)
      • RedisCacheStorager

        public RedisCacheStorager​(redis.clients.jedis.util.Pool<redis.clients.jedis.Jedis> jedisPool)