Constructor and Description |
---|
RedisCache(String cacheName,
Integer timeToLiveSeconds,
Integer timeToIdleSeconds) |
public static void main(String[] args)
public void clear()
ICache
public Serializable get(String key)
ICache
public <T> T get(String key, Class<T> clazz)
ICache
public Collection<String> keys()
ICache
public void put(String key, Serializable value)
ICache
public void putAll(List<JedisTemplate.Pair<String,Serializable>> values)
public void listPushTail(String key, Serializable value)
public void sortSetPush(String key, double score, Serializable value)
public List<String> sortSetGetAll(String key, double min, double max, int offset, int count)
public void putTemporary(String key, Serializable value)
ICache
putTemporary
in interface ICache
public String getCacheName()
public Integer getTimeout()
public Integer getTimeToIdleSeconds()
public Integer getTimeToLiveSeconds()
Copyright © 2018. All rights reserved.