- HaRedisCacheManager - com.github.fartherp.framework.cache.redis中的类
-
a implement of CacheManager in Redis
a example:
<bean id="myCacheManager" class="com.github.fartherp.framework.cache.redis.HaRedisCacheManager">
<property name="clientList">
<list>
<ref local="client"/>
</list>
</property>
<property name="retryTimes" value="3" />
</bean>
<bean id="client" class="com.github.fartherp.framework.cache.redis.RedisClient">
<property name="redisServer">
<value>127.0.0.1</value>
</property>
<property name="port">
<value>6379</value>
</property>
<property name="redisAuthKey">
<value>123456</value>
</property>
</bean>
Author: CK
Date: 2015/12/1
- HaRedisCacheManager() - 类 的构造器com.github.fartherp.framework.cache.redis.HaRedisCacheManager
-
- hdel(String, String) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
删除名称为key的hash中键为field的域
- hdel(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hdel(String, String...) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hdel(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
delete element from set
- hExists(String, String) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
名称为key的hash中是否存在键为field的值
- hExists(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hexists(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hExists(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
check key exist in set
- hget(String, String) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
返回名称为key的hash中field对应的value
- hget(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hget(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hget(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
get value by element key from set
- hGetAll(String) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
返回名称为key的hash中所有的键(field)及其对应的value
- hGetAll(String) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hgetAll(String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hGetAll(String) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
get map value from set
- hincrBy(String, String, long) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hincrByFloat(String, String, double) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hKeys(String) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
返回名称为key的hash中所有键
- hKeys(String) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hkeys(String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hKeys(String) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
get keys from set
- hLen(String) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
返回名称为key的hash中元素个数
- hLen(String) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hlen(String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hLen(String) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
get size from set
- hmGet(String, String...) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
返回名称为key的hash中fields对应的值list
- hmGet(String, String...) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hmget(String, String...) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hmGet(String, String...) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
get keys from set
- hmSet(String, Map<String, Serializable>) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
向名称为key的hash中添加元素field
- hmSet(String, Map<String, Serializable>) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hmset(String, Map<String, String>) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hmSet(String, Map<String, Serializable>) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
set map value to target set
- hput(String, String, Serializable) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
向名称为key的hash中添加元素field
- hput(String, String, Serializable) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hput(String, String, Serializable) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
add value to set
- hscan(String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hscan(String, String, ScanParams) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hset(String, String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hsetnx(String, String, String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hvals(String) - 类 中的方法com.github.fartherp.framework.cache.redis.cluster.RedisClusterClient
-
- hValues(String) - 接口 中的方法com.github.fartherp.framework.cache.ExtCacheManager
-
返回名称为key的hash中所有键对应的value
- hValues(String) - 类 中的方法com.github.fartherp.framework.cache.redis.AbstractRedisCacheManager
-
- hValues(String) - 类 中的方法com.github.fartherp.framework.cache.redis.RedisClient
-
get values from set