Skip navigation links
A B C D E G H I K L M P R S T U 

A

add(String, String...) - Method in class com.liying.boot.redis.util.RedisUtil
添加 set 元素
add(String, Object, double) - Method in class com.liying.boot.redis.util.RedisUtil
添加 ZSet 元素

B

batchAddZset(String, Set<ZSetOperations.TypedTuple<Object>>) - Method in class com.liying.boot.redis.util.RedisUtil
批量添加 Zset
Set> tuples = new HashSet<>();
TypedTuple objectTypedTuple1 = new DefaultTypedTuple("zset-5",9.6);
tuples.add(objectTypedTuple1);

C

cacheManager() - Method in class com.liying.boot.redis.RedisAutoConfiguration
 
com.liying.boot.redis - package com.liying.boot.redis
 
com.liying.boot.redis.util - package com.liying.boot.redis.util
 
countZSet(String, double, double) - Method in class com.liying.boot.redis.util.RedisUtil
返回指定分数区间 [min,max] 的元素个数

D

delete(String) - Method in class com.liying.boot.redis.util.RedisUtil
删除 key-value
delete(String, String...) - Method in class com.liying.boot.redis.util.RedisUtil
删除指定 hash 的 HashKey
difference(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
获取两个集合的差集
difference(String, Collection<Object>) - Method in class com.liying.boot.redis.util.RedisUtil
获取 key 和 集合 collections 中的 key 集合的差集
differenceAndStore(String, String, String) - Method in class com.liying.boot.redis.util.RedisUtil
将 key 与 otherkey 的差集 ,添加到新的 newKey 集合中
differenceAndStore(String, Collection<Object>, String) - Method in class com.liying.boot.redis.util.RedisUtil
将 key 和 集合 collections 中的 key 集合的差集 添加到 newkey 集合中

E

expire(String, long) - Method in class com.liying.boot.redis.util.RedisUtil
给一个指定的 key 值附加过期时间
expire(String, long, TimeUnit) - Method in class com.liying.boot.redis.util.RedisUtil
给一个指定的 key 值附加过期时间

G

get(String) - Method in class com.liying.boot.redis.util.RedisUtil
获取 String 类型 key-value
get() - Method in class com.liying.boot.redis.util.TestUtil
 
getAndSet(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
如果 key 存在则覆盖,并返回旧值.
getExpire() - Method in class com.liying.boot.redis.RedisProperties
 
getExpire(String) - Method in class com.liying.boot.redis.util.RedisUtil
获取指定key 的过期时间
getHashEntries(String) - Method in class com.liying.boot.redis.util.RedisUtil
获取 key 下的 所有 hashkey 和 value
getHashKey(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
获取指定 key 下的 hashkey
getInstance() - Method in class com.liying.boot.redis.util.RedisUtil
 

H

hashKey(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
验证指定 key 下 有没有指定的 hashkey
hashKeys(String) - Method in class com.liying.boot.redis.util.RedisUtil
获取 key 下的 所有 hashkey 字段名
hashSize(String) - Method in class com.liying.boot.redis.util.RedisUtil
获取指定 hash 下面的 键值对 数量

I

increment(String, long) - Method in class com.liying.boot.redis.util.RedisUtil
对一个 key-value 的值进行加减操作, 如果该 key 不存在 将创建一个key 并赋值该 number 如果 key 存在,但 value 不是长整型 ,将报错
increment(String, double) - Method in class com.liying.boot.redis.util.RedisUtil
对一个 key-value 的值进行加减操作, 如果该 key 不存在 将创建一个key 并赋值该 number 如果 key 存在,但 value 不是 纯数字 ,将报错
increment(String, String, long) - Method in class com.liying.boot.redis.util.RedisUtil
给指定 hash 的 hashkey 做增减操作
increment(String, String, Double) - Method in class com.liying.boot.redis.util.RedisUtil
给指定 hash 的 hashkey 做增减操作
incrementScore(String, Object, double) - Method in class com.liying.boot.redis.util.RedisUtil
对指定的 zset 的 value 值 , socre 属性做增减操作
intersectAndStore(String, String, String) - Method in class com.liying.boot.redis.util.RedisUtil
key 和 otherKey 两个集合的交集,保存在 destKey 集合中
intersectAndStore(String, Collection<String>, String) - Method in class com.liying.boot.redis.util.RedisUtil
key 和 collections 多个集合的交集,保存在 destKey 集合中
isMember(String, Object) - Method in class com.liying.boot.redis.util.RedisUtil
判断 set 集合中 是否有 value

K

keyGenerator() - Method in class com.liying.boot.redis.RedisAutoConfiguration
 
keys(String) - Method in class com.liying.boot.redis.util.RedisUtil
 

L

leftPop(String) - Method in class com.liying.boot.redis.util.RedisUtil
指定 list 从左出栈 如果列表没有元素,会堵塞到列表一直有元素或者超时为止
leftPush(String, Object) - Method in class com.liying.boot.redis.util.RedisUtil
指定 list 从左入栈
leftPushAll(String, Collection<Object>) - Method in class com.liying.boot.redis.util.RedisUtil
从左边依次入栈 导入顺序按照 Collection 顺序 如: a b c => c b a
listRange(String, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
获取列表 指定范围内的所有值
listRemove(String, long, Object) - Method in class com.liying.boot.redis.util.RedisUtil
删除 key 中 值为 value 的 count 个数.
listSize(String, long) - Method in class com.liying.boot.redis.util.RedisUtil
获取列表指定长度
listTrim(String, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
删除 列表 [start,end] 以外的所有元素

M

members(String) - Method in class com.liying.boot.redis.util.RedisUtil
返回集合中所有元素
moveSet(String, Object, String) - Method in class com.liying.boot.redis.util.RedisUtil
将 key 中的 value 转入到 destKey 中
multiSet(Map<String, String>) - Method in class com.liying.boot.redis.util.RedisUtil
批量添加 key-value (重复的键会覆盖)
multiSetIfAbsent(Map<String, String>) - Method in class com.liying.boot.redis.util.RedisUtil
批量添加 key-value 只有在键不存在时,才添加 map 中只要有一个key存在,则全部不添加

P

popIndex(String, long) - Method in class com.liying.boot.redis.util.RedisUtil
根据下标获取值
put(String, String, String) - Method in class com.liying.boot.redis.util.RedisUtil
添加 Hash 键值对
putAll(String, Map<String, String>) - Method in class com.liying.boot.redis.util.RedisUtil
批量添加 hash 的 键值对 有则覆盖,没有则添加
putIfAbsent(String, String, String) - Method in class com.liying.boot.redis.util.RedisUtil
添加 hash 键值对.

R

randomGet(String) - Method in class com.liying.boot.redis.util.RedisUtil
随机获取一个元素
randomGet(String, long) - Method in class com.liying.boot.redis.util.RedisUtil
随机获取指定数量的元素,同一个元素可能会选中两次
randomGetDistinct(String, long) - Method in class com.liying.boot.redis.util.RedisUtil
随机获取指定数量的元素,去重(同一个元素只能选择一次)
randomPop(String) - Method in class com.liying.boot.redis.util.RedisUtil
随机移除一个集合中的元素,并返回出来
range(String, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
获取索引区间内的排序结果集合(从0开始,从小到大,只有列名)
rangeByScore(String, double, double) - Method in class com.liying.boot.redis.util.RedisUtil
获取分数范围内的 [min,max] 的排序结果集合 (从小到大,只有列名)
rangeByScore(String, double, double, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
返回 分数范围内 指定 count 数量的元素集合, 并且从 offset 下标开始(从小到大,不带分数的集合)
rangeByScoreWithScores(String, double, double) - Method in class com.liying.boot.redis.util.RedisUtil
获取分数范围内的 [min,max] 的排序结果集合 (从小到大,集合带分数)
rangeByScoreWithScores(String, double, double, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
返回 分数范围内 指定 count 数量的元素集合, 并且从 offset 下标开始(从小到大,带分数的集合)
rangeWithScores(String, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
获取索引区间内的排序结果集合(从0开始,从小到大,带上分数)
rank(String, Object) - Method in class com.liying.boot.redis.util.RedisUtil
获取 key 中指定 value 的排名(从0开始,从小到大排序)
RedisAutoConfiguration - Class in com.liying.boot.redis
 
RedisAutoConfiguration() - Constructor for class com.liying.boot.redis.RedisAutoConfiguration
 
RedisProperties - Class in com.liying.boot.redis
 
RedisProperties() - Constructor for class com.liying.boot.redis.RedisProperties
 
redisTemplate() - Method in class com.liying.boot.redis.RedisAutoConfiguration
 
redisUtil() - Method in class com.liying.boot.redis.RedisAutoConfiguration
 
RedisUtil - Class in com.liying.boot.redis.util
 
RedisUtil() - Constructor for class com.liying.boot.redis.util.RedisUtil
 
remove(String, Object...) - Method in class com.liying.boot.redis.util.RedisUtil
删除集合中一个或多个的指定值
removeExpire(String) - Method in class com.liying.boot.redis.util.RedisUtil
移除指定key 的过期时间
removeRange(String, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
删除指定索引位置的成员,其中成员分数按( 从小到大 )
removeRangeByScore(String, double, double) - Method in class com.liying.boot.redis.util.RedisUtil
删除指定 分数范围 内的成员 [main,max],其中成员分数按( 从小到大 )
removeZset(String, String...) - Method in class com.liying.boot.redis.util.RedisUtil
Zset 删除一个或多个元素
rename(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
修改 key
reverseRange(String, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
获取索引区间内的排序结果集合(从0开始,从大到小,只有列名)
reverseRangeByScore(String, double, double) - Method in class com.liying.boot.redis.util.RedisUtil
获取分数范围内的 [min,max] 的排序结果集合 (从大到小,集合不带分数)
reverseRangeByScore(String, double, double, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
返回 分数范围内 指定 count 数量的元素集合, 并且从 offset 下标开始(从大到小,不带分数的集合)
reverseRangeByScoreWithScores(String, double, double) - Method in class com.liying.boot.redis.util.RedisUtil
获取分数范围内的 [min,max] 的排序结果集合 (从大到小,集合带分数)
reverseRangeByScoreWithScores(String, double, double, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
返回 分数范围内 指定 count 数量的元素集合, 并且从 offset 下标开始(从大到小,带分数的集合)
reverseRangeWithScores(String, long, long) - Method in class com.liying.boot.redis.util.RedisUtil
获取索引区间内的排序结果集合(从0开始,从大到小,带上分数)
reverseRank(String, Object) - Method in class com.liying.boot.redis.util.RedisUtil
获取 key 中指定 value 的排名(从0开始,从大到小排序)
rightPop(String) - Method in class com.liying.boot.redis.util.RedisUtil
指定 list 从右出栈 如果列表没有元素,会堵塞到列表一直有元素或者超时为止
rightPopAndLeftPush(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
将 key 右出栈,并左入栈到 key2
rightPush(String, Object) - Method in class com.liying.boot.redis.util.RedisUtil
指定 list 从右入栈
rightPushAll(String, Collection<Object>) - Method in class com.liying.boot.redis.util.RedisUtil
从右边依次入栈 导入顺序按照 Collection 顺序 如: a b c => a b c

S

score(String, Object) - Method in class com.liying.boot.redis.util.RedisUtil
获取指定成员的 score 值
set(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
设置 String 类型 key-value
set(String, String, long) - Method in class com.liying.boot.redis.util.RedisUtil
设置 String 类型 key-value 并添加过期时间 (秒单位)
set(String, String, long, TimeUnit) - Method in class com.liying.boot.redis.util.RedisUtil
设置 String 类型 key-value 并添加过期时间 (分钟单位)
setExpire(long) - Method in class com.liying.boot.redis.RedisProperties
 
setSize(String) - Method in class com.liying.boot.redis.util.RedisUtil
无序集合的大小
sizeZset(String) - Method in class com.liying.boot.redis.util.RedisUtil
返回 zset 集合数量
stringRedisTemplate() - Method in class com.liying.boot.redis.RedisAutoConfiguration
 

T

TestUtil - Class in com.liying.boot.redis.util
 
TestUtil() - Constructor for class com.liying.boot.redis.util.TestUtil
 

U

unionAndStoreSet(String, String, String) - Method in class com.liying.boot.redis.util.RedisUtil
将 key 与 otherKey 的并集,保存到 destKey 中
unionAndStoreSet(String, Collection<Object>, String) - Method in class com.liying.boot.redis.util.RedisUtil
将 key 与 collections 的并集,保存到 destKey 中
unionAndStoreZset(String, String, String) - Method in class com.liying.boot.redis.util.RedisUtil
key 和 other 两个集合的并集,保存在 destKey 集合中, 列名相同的 score 相加
unionAndStoreZset(String, Collection<String>, String) - Method in class com.liying.boot.redis.util.RedisUtil
key 和 collections 集合的并集,保存在 destKey 集合中, 列名相同的 score 相加
unionSet(String, String) - Method in class com.liying.boot.redis.util.RedisUtil
返回 key 和 othere 的并集
unionSet(String, Collection<Object>) - Method in class com.liying.boot.redis.util.RedisUtil
返回 key 和 collections 的并集
A B C D E G H I K L M P R S T U 

Copyright © 2019. All rights reserved.