Index

A B C D E F G H I J K L M N P R S T U V Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

append(String, String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
如果键 key 已经存在并且它的值是一个字符串, APPEND 命令将把 value 追加到键 key 现有值的末尾。
asList() - Method in class top.tangyh.basic.cache.redis2.CacheResult
 
asLong() - Method in class top.tangyh.basic.cache.redis2.CacheResult
 
asLong(long) - Method in class top.tangyh.basic.cache.redis2.CacheResult
 
asString() - Method in class top.tangyh.basic.cache.redis2.CacheResult
 

B

BaseRedis - Class in top.tangyh.basic.cache.redis
公共的redis方法
BaseRedis(RedisTemplate<String, Object>, StringRedisTemplate, boolean) - Constructor for class top.tangyh.basic.cache.redis.BaseRedis
 
BATCH_SIZE - Static variable in class top.tangyh.basic.cache.redis.BaseRedis
 
BytesWrapper<T> - Class in top.tangyh.basic.cache.utils
字节包装器
BytesWrapper() - Constructor for class top.tangyh.basic.cache.utils.BytesWrapper
 
BytesWrapper(T) - Constructor for class top.tangyh.basic.cache.utils.BytesWrapper
 

C

Cache() - Constructor for class top.tangyh.basic.cache.properties.CustomCacheProperties.Cache
 
CACHE_KEY_NOT_NULL - Static variable in class top.tangyh.basic.cache.redis.BaseRedis
 
CacheAutoConfigure - Class in top.tangyh.basic.cache
缓存配置
CacheAutoConfigure() - Constructor for class top.tangyh.basic.cache.CacheAutoConfigure
 
cacheManager(RedisConnectionFactory) - Method in class top.tangyh.basic.cache.RedisAutoConfigure
用于 @Cacheable 相关注解
cacheOps() - Method in class top.tangyh.basic.cache.CaffeineAutoConfigure
caffeine 持久库
cacheOps(RedisOps) - Method in class top.tangyh.basic.cache.RedisAutoConfigure
redis 持久库
CacheOps - Interface in top.tangyh.basic.cache.repository
缓存操作公共接口
cachePlusOps() - Method in class top.tangyh.basic.cache.CaffeineAutoConfigure
caffeine 增强持久库 仅用于避免报错, 正式环境请勿使用
cachePlusOps(RedisOps) - Method in class top.tangyh.basic.cache.RedisAutoConfigure
redis 增强持久库
CachePlusOps - Interface in top.tangyh.basic.cache.repository
缓存增强
CacheResult<T> - Class in top.tangyh.basic.cache.redis2
缓存返回对象
CacheResult(String) - Constructor for class top.tangyh.basic.cache.redis2.CacheResult
 
CacheResult(String, Duration, T) - Constructor for class top.tangyh.basic.cache.redis2.CacheResult
 
CacheResult(String, T) - Constructor for class top.tangyh.basic.cache.redis2.CacheResult
 
CacheResult(CacheHashKey, T) - Constructor for class top.tangyh.basic.cache.redis2.CacheResult
 
CacheResult(CacheKey) - Constructor for class top.tangyh.basic.cache.redis2.CacheResult
 
CacheResult(CacheKey, T) - Constructor for class top.tangyh.basic.cache.redis2.CacheResult
 
CacheType - Enum Class in top.tangyh.basic.cache.properties
缓存类型
CAFFEINE - Enum constant in enum class top.tangyh.basic.cache.properties.CacheType
内存
CaffeineAutoConfigure - Class in top.tangyh.basic.cache
内存缓存配置
CaffeineAutoConfigure() - Constructor for class top.tangyh.basic.cache.CaffeineAutoConfigure
 
caffeineCacheManager() - Method in class top.tangyh.basic.cache.CaffeineAutoConfigure
 
caffeineDistributedLock() - Method in class top.tangyh.basic.cache.CaffeineAutoConfigure
为了解决演示环境启动报错而加的类
CaffeineDistributedLock - Class in top.tangyh.basic.cache.lock
分布式锁 只能用redis实现 写这个类的目的,只是为了防止代码启动报错
CaffeineDistributedLock() - Constructor for class top.tangyh.basic.cache.lock.CaffeineDistributedLock
 
CaffeineOpsImpl - Class in top.tangyh.basic.cache.repository.impl
基于 Caffeine 实现的内存缓存, 主要用于开发、测试、演示环境 生产环境慎用!
CaffeineOpsImpl() - Constructor for class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
clone() - Method in class top.tangyh.basic.cache.utils.BytesWrapper
 
CustomCacheProperties - Class in top.tangyh.basic.cache.properties
缓存配置
CustomCacheProperties() - Constructor for class top.tangyh.basic.cache.properties.CustomCacheProperties
 
CustomCacheProperties.Cache - Class in top.tangyh.basic.cache.properties
 

D

decr(CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为键 key 储存的数字值减去一。
decr(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CacheOps
为键 key 储存的数字值减去一。
decr(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
decr(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
decrBy(CacheKey, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将 key 所储存的值减去减量 decrement 。
decrBy(CacheKey, long) - Method in interface top.tangyh.basic.cache.repository.CacheOps
将 key 所储存的值减去减量 decrement 。
decrBy(CacheKey, long) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
decrBy(CacheKey, long) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
defaultCacheNullVal - Variable in class top.tangyh.basic.cache.redis.BaseRedis
全局配置是否缓存null值
del(String...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
del(String...) - Method in interface top.tangyh.basic.cache.repository.CacheOps
删除指定的key
del(String...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
del(String...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
del(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
del(Collection<CacheKey>) - Method in interface top.tangyh.basic.cache.repository.CacheOps
删除指定的key
del(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
del(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
del(List<String>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
del(CacheKey...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
del(CacheKey...) - Method in interface top.tangyh.basic.cache.repository.CacheOps
删除指定的key
del(CacheKey...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
del(CacheKey...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
deserialize(byte[]) - Method in class top.tangyh.basic.cache.utils.ProtoStuffSerializer
 
DistributedLock - Interface in top.tangyh.basic.cache.lock
分布式锁顶级接口 例如: RETRY_TIMES=100,SLEEP_MILLIS=100 RETRY_TIMES * SLEEP_MILLIS = 10000 意味着如果一直获取不了锁,最长会等待10秒后抛超时异常

E

eq(CacheType) - Method in enum class top.tangyh.basic.cache.properties.CacheType
 
exists(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
检查给定 key 是否存在。
exists(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CacheOps
判断指定的key 是否存在
exists(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
exists(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
expire(String, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为给定 key 设置生存时间,当 key 过期时(生存时间为 0 ),它会被自动删除。
expire(String, Duration) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为给定 key 设置生存时间,当 key 过期时(生存时间为 0 ),它会被自动删除。
expire(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
为给定 key 设置生存时间,当 key 过期时(生存时间为 0 ),它会被自动删除。
expire(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
expire(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
expireAt(String, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
EXPIREAT 的作用和 EXPIRE 类似,都用于为 key 设置生存时间。
expireAt(String, Date) - Method in class top.tangyh.basic.cache.redis.BaseRedis
EXPIREAT 的作用和 EXPIRE 类似,都用于为 key 设置生存时间。

F

find(Collection<CacheKey>) - Method in interface top.tangyh.basic.cache.repository.CacheOps
根据keys获取对象
find(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
find(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
flushDb() - Method in interface top.tangyh.basic.cache.repository.CacheOps
清空所有存储的数据
flushDb() - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
flushDb() - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
清空redis存储的数据

G

get(String, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回与键 key 相关联的 value 值
get(String, boolean...) - Method in interface top.tangyh.basic.cache.repository.CacheOps
根据key获取对象
get(String, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
get(String, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
get(String, Function<String, T>, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回与键 key 相关联的 value 值
get(CacheKey, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回与键 key 相关联的 value 值
get(CacheKey, boolean...) - Method in interface top.tangyh.basic.cache.repository.CacheOps
根据key获取对象
get(CacheKey, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
get(CacheKey, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回与键 key 相关联的 value 值
get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - Method in interface top.tangyh.basic.cache.repository.CacheOps
根据key获取对象 不存在时,调用function回调获取数据,并set进入,然后返回
get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
getCounter(CacheKey, Long...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
获取key中存放的Long值
getCounter(CacheKey, Function<CacheKey, Long>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
获取key中存放的Long值
getCounter(CacheKey, Function<CacheKey, Long>) - Method in interface top.tangyh.basic.cache.repository.CacheOps
获取key中存放的Long值
getCounter(CacheKey, Function<CacheKey, Long>) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
getCounter(CacheKey, Function<CacheKey, Long>) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
getRange(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回键 key 储存的字符串值的指定部分, 字符串的截取范围由 start 和 end 两个偏移量决定 (包括 start 和 end 在内)。
getRedisOps(RedisTemplate<String, Object>, StringRedisTemplate) - Method in class top.tangyh.basic.cache.RedisAutoConfigure
 
getRedisTemplate() - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
获取 RedisTemplate对象
getSet(String, Object) - Method in class top.tangyh.basic.cache.redis2.RedisOps
将键 key 的值设为 value , 并返回键 key 在被设置之前的旧值。
getValue() - Method in class top.tangyh.basic.cache.redis2.CacheResult
缓存对象
getValue() - Method in class top.tangyh.basic.cache.utils.BytesWrapper
 

H

hashOps - Variable in class top.tangyh.basic.cache.redis.BaseRedis
 
hDel(String, Object...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
删除哈希表 key 中的一个或多个指定域,不存在的域将被忽略。
hDel(String, Object...) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
删除哈希表 key 中的一个或多个指定域,不存在的域将被忽略。
hDel(String, Object...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hDel(String, Object...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hDel(CacheHashKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
 
hDel(CacheHashKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
删除哈希表 key 中的指定域,不存在的域将被忽略。
hDel(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hDel(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hExists(String, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
检查给定域 field 是否存在于哈希表 hash 当中
hExists(CacheHashKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
检查给定域 field 是否存在于哈希表 hash 当中
hExists(CacheHashKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
检查给定域 field 是否存在于哈希表 hash 当中
hExists(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hExists(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hGet(String, Object, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中给定域 field 的值。
hGet(String, Object, BiFunction<String, Object, T>, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中给定域 field 的值。
hGet(CacheHashKey, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中给定域 field 的值。
hGet(CacheHashKey, boolean...) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回哈希表 key 中给定域 field 的值。
hGet(CacheHashKey, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hGet(CacheHashKey, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中给定域 field 的值。
hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回哈希表 key 中给定域 field 的值。
hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hGetAll(String) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中,所有的域和值。
hGetAll(CacheHashKey) - Method in class top.tangyh.basic.cache.redis2.RedisOps
 
hGetAll(CacheHashKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回哈希表 key 中,所有的域和值。
hGetAll(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hGetAll(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中给定域 field 的值。
hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回哈希表 key 中,所有的域和值。
hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hIncrBy(CacheHashKey, double) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
为哈希表 key 中的域 field 的值加上增量 increment 。
hIncrBy(CacheHashKey, double) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hIncrBy(CacheHashKey, double) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hIncrBy(CacheHashKey, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为哈希表 key 中的域 field 的值加上增量 increment 。
hIncrBy(CacheHashKey, long) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
为哈希表 key 中的域 field 的值加上增量 increment 。
hIncrBy(CacheHashKey, long) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hIncrBy(CacheHashKey, long) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hIncrByFloat(CacheHashKey, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为哈希表 key 中的域 field 加上浮点数增量 increment 。
hKeys(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回哈希表 key 中的所有域。
hKeys(CacheHashKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回哈希表 key 中的所有域。
hKeys(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hKeys(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hLen(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回哈希表 key 中域的数量。
hLen(CacheHashKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回哈希表 key 中域的数量。
hLen(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hLen(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hmGet(String, Object...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中,一个或多个给定域的值。
hmGet(String, List<Object>) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中,一个或多个给定域的值。
hmSet(String, Map<K, V>, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
同时将多个 field-value (域-值)对设置到哈希表 key 中。
hSet(String, Object, Object, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将哈希表 key 中的域 field 的值设为 value 。
hSet(CacheHashKey, Object, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将哈希表 key 中的域 field 的值设为 value 。
hSet(CacheHashKey, Object, boolean...) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
将哈希表 key 中的域 field 的值设为 value 。
hSet(CacheHashKey, Object, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hSet(CacheHashKey, Object, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
hStrLen(String, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回哈希表 key 中, 与给定域 field 相关联的值的字符串长度
hVals(String) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回哈希表 key 中所有域的值。
hVals(CacheHashKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回哈希表 key 中所有域的值。
hVals(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
hVals(CacheHashKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 

I

incr(CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为键 key 储存的数字值加上一。
incr(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CacheOps
为键 key 储存的数字值加上一。
incr(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
incr(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
incrBy(CacheKey, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为键 key 储存的数字值加上增量 increment 。
incrBy(CacheKey, long) - Method in interface top.tangyh.basic.cache.repository.CacheOps
为键 key 储存的数字值加上increment。
incrBy(CacheKey, long) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
incrBy(CacheKey, long) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
incrByFloat(CacheKey, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为键 key 储存的值加上浮点数增量 increment 。
incrByFloat(CacheKey, double) - Method in interface top.tangyh.basic.cache.repository.CacheOps
为键 key 储存的数字值加上一。
incrByFloat(CacheKey, double) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
incrByFloat(CacheKey, double) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
isNull() - Method in class top.tangyh.basic.cache.redis2.CacheResult
是否没有缓存
isNullVal() - Method in class top.tangyh.basic.cache.redis2.CacheResult
是否缓存的空值
isNullVal(T) - Static method in class top.tangyh.basic.cache.redis.BaseRedis
判断缓存值是否为空对象

J

JACK_SON - Enum constant in enum class top.tangyh.basic.cache.properties.SerializerType
json 序列化
JDK - Enum constant in enum class top.tangyh.basic.cache.properties.SerializerType
jdk 序列化

K

KEY_LOCKS - Static variable in class top.tangyh.basic.cache.redis.BaseRedis
 
KEY_NOT_NULL - Static variable in class top.tangyh.basic.cache.redis.BaseRedis
 
keyGenerator() - Method in class top.tangyh.basic.cache.CacheAutoConfigure
key 的生成
keys(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
查找所有符合给定模式 pattern 的 key 。
keys(String) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
查找所有符合给定模式 pattern 的 key 。
keys(String) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
KEYS * 匹配数据库中所有 key 。
keys(String) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 

L

lIndex(String, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回列表 key 中,下标为 index 的元素。
lInsert(String, Object, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将值 value 插入到列表 key 当中,位于值 pivot 之前。
listOps - Variable in class top.tangyh.basic.cache.redis.BaseRedis
 
lLen(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回列表 key 的长度。
lock(String) - Method in interface top.tangyh.basic.cache.lock.DistributedLock
获取锁
lock(String, int) - Method in interface top.tangyh.basic.cache.lock.DistributedLock
获取锁
lock(String, int, long) - Method in interface top.tangyh.basic.cache.lock.DistributedLock
获取锁
lock(String, long) - Method in interface top.tangyh.basic.cache.lock.DistributedLock
获取锁
lock(String, long, int) - Method in interface top.tangyh.basic.cache.lock.DistributedLock
获取锁
lock(String, long, int, long) - Method in class top.tangyh.basic.cache.lock.CaffeineDistributedLock
 
lock(String, long, int, long) - Method in interface top.tangyh.basic.cache.lock.DistributedLock
获取锁
lock(String, long, int, long) - Method in class top.tangyh.basic.cache.lock.RedisDistributedLock
 
lPop(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除并返回列表 key 的头元素
lPush(String, Object...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个值 value 插入到列表 key 的表头 如果有多个 value 值,那么各个 value 值按从左到右的顺序依次插入到表头: 比如说,对空列表 mylist 执行命令 LPUSH mylist a b c ,列表的值将是 c b a ,这等同于原子性地执行 LPUSH mylist a 、 LPUSH mylist b 和 LPUSH mylist c 三个命令。
lPush(String, Collection<Object>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个值 value 插入到列表 key 的表头 如果有多个 value 值,那么各个 value 值按从左到右的顺序依次插入到表头: 比如说,对空列表 mylist 执行命令 LPUSH mylist a b c ,列表的值将是 c b a ,这等同于原子性地执行 LPUSH mylist a 、 LPUSH mylist b 和 LPUSH mylist c 三个命令。
lPushX(String, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将值 value 插入到列表 key 的表头,当且仅当 key 存在并且是一个列表。
lRange(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回列表 key 中指定区间内的元素,区间以偏移量 start 和 stop 指定。
lRem(String, long, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
根据参数 count 的值,移除列表中与参数 value 相等的元素。
lSet(String, long, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将列表 key 下标为 index 的元素的值设置为 value 。
lTrim(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
对一个列表进行修剪(trim),就是说,让列表只保留指定区间内的元素,不在指定区间之内的元素都将被删除。

M

mGet(String...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
mGet(List<String>) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
mGet(CacheKey...) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
mGetByCacheKey(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis2.RedisOps
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
move(String, int) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将当前数据库的 key 移动到给定的数据库 db 当中。
mSet(Map<String, Object>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
同时为一个或多个键设置值。
mSet(Map<String, Object>, boolean) - Method in class top.tangyh.basic.cache.redis.BaseRedis
同时为一个或多个键设置值。
mSetNx(Map<String, Object>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
当且仅当所有给定键都不存在时, 为所有给定键设置值。
mSetNx(Map<String, Object>, boolean) - Method in class top.tangyh.basic.cache.redis.BaseRedis
当且仅当所有给定键都不存在时, 为所有给定键设置值。

N

newNullVal() - Method in class top.tangyh.basic.cache.redis.BaseRedis
new 一个空值
NullVal - Class in top.tangyh.basic.cache.redis
空值 解决缓存穿透
NullVal() - Constructor for class top.tangyh.basic.cache.redis.NullVal
 

P

persist(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除给定 key 的生存时间,将这个 key 从『易失的』(带生存时间 key )转换成『持久的』(一个不带生存时间、永不过期的 key )。
persist(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
移除给定 key 的生存时间,将这个 key 从『易失的』(带生存时间 key )转换成『持久的』(一个不带生存时间、永不过期的 key )。
persist(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
persist(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
pExpire(String, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令和 EXPIRE 命令的作用类似,但是它以毫秒为单位设置 key 的生存时间,而不像 EXPIRE 命令那样,以秒为单位。
PREFIX - Static variable in class top.tangyh.basic.cache.properties.CustomCacheProperties
 
ProtoStuff - Enum constant in enum class top.tangyh.basic.cache.properties.SerializerType
默认:ProtoStuff 序列化
ProtoStuffSerializer - Class in top.tangyh.basic.cache.utils
ProtoStuff 序列化
ProtoStuffSerializer() - Constructor for class top.tangyh.basic.cache.utils.ProtoStuffSerializer
 
pTtl(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令类似于 TTL 命令,但它以毫秒为单位返回 key 的剩余生存时间,而不是像 TTL 命令那样,以秒为单位。
pTtl(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
以毫秒为单位,返回给定 key 的剩余生存时间(TTL, time to live)。
pTtl(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
pTtl(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 

R

randomKey() - Method in class top.tangyh.basic.cache.redis.BaseRedis
从当前数据库中随机返回(不删除)一个 key 。
REDIS - Enum constant in enum class top.tangyh.basic.cache.properties.CacheType
redis
RedisAutoConfigure - Class in top.tangyh.basic.cache
redis 配置类
RedisAutoConfigure() - Constructor for class top.tangyh.basic.cache.RedisAutoConfigure
 
redisDistributedLock(RedisTemplate<String, Object>) - Method in class top.tangyh.basic.cache.RedisAutoConfigure
分布式锁
RedisDistributedLock - Class in top.tangyh.basic.cache.lock
redis分布式锁实现
RedisDistributedLock(RedisTemplate<String, Object>) - Constructor for class top.tangyh.basic.cache.lock.RedisDistributedLock
 
RedisObjectSerializer - Class in top.tangyh.basic.cache.utils
此时定义的序列化操作表示可以序列化所有类的对象,当然,这个对象所在的类一定要实现序列化接口
RedisObjectSerializer() - Constructor for class top.tangyh.basic.cache.utils.RedisObjectSerializer
 
RedisOps - Class in top.tangyh.basic.cache.redis2
 
RedisOps(RedisTemplate<String, Object>, StringRedisTemplate, boolean) - Constructor for class top.tangyh.basic.cache.redis2.RedisOps
 
RedisOpsImpl - Class in top.tangyh.basic.cache.repository.impl
Redis Repository redis 基本操作 可扩展,基本够用了
RedisOpsImpl(RedisOps) - Constructor for class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
redisSerializer() - Method in class top.tangyh.basic.cache.RedisAutoConfigure
 
redisTemplate - Variable in class top.tangyh.basic.cache.redis.BaseRedis
 
redisTemplate(RedisConnectionFactory, RedisSerializer<Object>) - Method in class top.tangyh.basic.cache.RedisAutoConfigure
RedisTemplate配置
releaseLock(String) - Method in class top.tangyh.basic.cache.lock.CaffeineDistributedLock
 
releaseLock(String) - Method in interface top.tangyh.basic.cache.lock.DistributedLock
释放锁
releaseLock(String) - Method in class top.tangyh.basic.cache.lock.RedisDistributedLock
 
rename(String, String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将 key 改名为 newkey 。
renameNx(String, String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
当且仅当 newkey 不存在时,将 key 改名为 newkey 。
RETRY_TIMES - Static variable in interface top.tangyh.basic.cache.lock.DistributedLock
重试次数
rInsert(String, Object, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将值 value 插入到列表 key 当中,位于值 pivot 之后。
rPop(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除并返回列表 key 的尾元素。
rPoplPush(String, String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
命令 RPOPLPUSH 在一个原子时间内,执行以下两个动作: 1.将列表 source 中的最后一个元素(尾元素)弹出,并返回给客户端。
rPush(String, Object...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个值 value 插入到列表 key 的表尾(最右边)。
rPush(String, Collection<Object>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个值 value 插入到列表 key 的表尾(最右边)。
rPushX(String, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将值 value 插入到列表 key 的表尾,当且仅当 key 存在并且是一个列表。

S

sAdd(CacheKey, Object) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
将一个或多个 member 元素加入到集合 key 当中,已经存在于集合的 member 元素将被忽略。
sAdd(CacheKey, Object) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
sAdd(CacheKey, Object) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
sAdd(CacheKey, Collection<V>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个 member 元素加入到集合 key 当中,已经存在于集合的 member 元素将被忽略。
sAdd(CacheKey, V...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个 member 元素加入到集合 key 当中,已经存在于集合的 member 元素将被忽略。
scan(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
查找所有符合给定模式 pattern 的 key 。
scan(String) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
查找所有符合给定模式 pattern 的 key 。
scan(String) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
scan(String) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
scanUnlink(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
批量扫描后删除 匹配到的key
scanUnlink(String) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
查找所有符合给定模式 pattern 的 key ,并将其删除
scanUnlink(String) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
scanUnlink(String) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
sCard(CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回集合 key 的基数(集合中元素的数量)。
sCard(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回集合 key 的基数(集合中元素的数量)。
sCard(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
sCard(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
sDiff(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回一个集合的全部成员,该集合是所有给定集合之间的差集。
sDiff(CacheKey, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回一个集合的全部成员,该集合是所有给定集合之间的差集。
sDiffStore(Collection<CacheKey>, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回一个集合的全部成员,该集合是所有给定集合之间的差集。
sDiffStore(CacheKey, CacheKey, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令的作用和 SDIFF key [key …] 类似,但它将结果保存到 destination 集合,而不是简单地返回结果集。
serialize(Object) - Method in class top.tangyh.basic.cache.utils.ProtoStuffSerializer
 
SerializerType - Enum Class in top.tangyh.basic.cache.properties
序列化类型
set(String, Object, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将字符串值 value 存放到 key 。
set(CacheKey, Object, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
设置缓存
set(CacheKey, Object, boolean...) - Method in interface top.tangyh.basic.cache.repository.CacheOps
添加到带有 过期时间的 缓存
set(CacheKey, Object, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
set(CacheKey, Object, boolean...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
setEx(String, Object, long, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将键 key 的值设置为 value , 并将键 key 的生存时间设置为 seconds 秒钟。
setEx(String, Object, Duration, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将键 key 的值设置为 value , 并将键 key 的生存时间设置为 seconds 秒钟。
setExpire(CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
 
setNx(String, String, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
只在键 key 不存在的情况下, 将键 key 的值设置为 value 。
setOps - Variable in class top.tangyh.basic.cache.redis.BaseRedis
 
setRange(String, String, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
从偏移量 offset 开始, 用 value 参数覆写(overwrite)键 key 储存的字符串值。
setValue(T) - Method in class top.tangyh.basic.cache.utils.BytesWrapper
 
setXx(String, String, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
如果存在key,则设置key以保存字符串值。
setXx(String, String, long, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
如果存在key,则设置key以保存字符串值。
setXx(String, String, Duration, boolean...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
如果存在key,则设置key以保存字符串值。
sInter(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回一个集合的全部成员,该集合是所有给定集合的交集。
sInter(CacheKey, Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回一个集合的全部成员,该集合是所有给定集合的交集。
sInter(CacheKey, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回一个集合的全部成员,该集合是所有给定集合的交集。
sInterStore(Collection<CacheKey>, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令类似于 SINTER key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
sInterStore(CacheKey, Collection<CacheKey>, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令类似于 SINTER key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
sInterStore(CacheKey, CacheKey, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令类似于 SINTER key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
sIsMember(CacheKey, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
判断 member 元素是否集合 key 的成员。
SLEEP_MILLIS - Static variable in interface top.tangyh.basic.cache.lock.DistributedLock
每次重试后等待的时间 单位:毫秒
sMembers(CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回集合 key 中的所有成员。
sMembers(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回集合 key 中的所有成员。
sMembers(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
sMembers(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
sMove(CacheKey, CacheKey, V) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将 member 元素从 source 集合移动到 destination 集合。
sPop(CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除并返回集合中的一个随机元素。
sPop(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
移除并返回集合中的一个随机元素。
sPop(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
sPop(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
sRandMember(CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回集合中的一个随机元素。
sRandMember(CacheKey, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回集合中的count个随机元素。
sRandMembers(CacheKey, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回集合中的count个随机元素。
sRem(CacheKey, Object...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除集合 key 中的一个或多个 member 元素,不存在的 member 元素会被忽略。
sRem(CacheKey, Object...) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
移除集合 key 中的一个或多个 member 元素,不存在的 member 元素会被忽略。
sRem(CacheKey, Object...) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
sRem(CacheKey, Object...) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
stringRedisTemplate - Variable in class top.tangyh.basic.cache.redis.BaseRedis
 
stringRedisTemplate(RedisConnectionFactory) - Method in class top.tangyh.basic.cache.RedisAutoConfigure
 
strLen(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回键 key 储存的字符串值的长度
sUnion(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回多个集合的并集,多个集合由 keys 指定 不存在的 key 被视为空集。
sUnion(CacheKey, Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回多个集合的并集,多个集合由 keys 指定 不存在的 key 被视为空集。
sUnion(CacheKey, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回多个集合的并集,多个集合由 keys 指定 不存在的 key 被视为空集。
sUnionStore(Collection<CacheKey>, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令类似于 SUNION key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
sUnionStore(CacheKey, CacheKey, CacheKey) - Method in class top.tangyh.basic.cache.redis.BaseRedis
这个命令类似于 SUNION key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。

T

TIMEOUT_MILLIS - Static variable in interface top.tangyh.basic.cache.lock.DistributedLock
默认超时时间 单位:毫秒
top.tangyh.basic.cache - package top.tangyh.basic.cache
 
top.tangyh.basic.cache.lock - package top.tangyh.basic.cache.lock
 
top.tangyh.basic.cache.properties - package top.tangyh.basic.cache.properties
 
top.tangyh.basic.cache.redis - package top.tangyh.basic.cache.redis
 
top.tangyh.basic.cache.redis2 - package top.tangyh.basic.cache.redis2
 
top.tangyh.basic.cache.repository - package top.tangyh.basic.cache.repository
 
top.tangyh.basic.cache.repository.impl - package top.tangyh.basic.cache.repository.impl
 
top.tangyh.basic.cache.utils - package top.tangyh.basic.cache.utils
 
toString() - Method in class top.tangyh.basic.cache.redis2.CacheResult
 
ttl(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
以秒为单位,返回给定 key 的剩余生存时间(TTL, time to live)。
ttl(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
以秒为单位,返回给定 key 的剩余生存时间(TTL, time to live)。
ttl(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
ttl(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 
type(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回 key 所储存的值的类型。
type(CacheKey) - Method in interface top.tangyh.basic.cache.repository.CachePlusOps
返回 key 所储存的值的类型。
type(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
 
type(CacheKey) - Method in class top.tangyh.basic.cache.repository.impl.RedisOpsImpl
 

U

unlink(String...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
unlink(CacheKey...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
unlinkCacheKeys(Collection<CacheKey>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
unlinkStrs(List<String>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。

V

valueOf(String) - Static method in enum class top.tangyh.basic.cache.properties.CacheType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class top.tangyh.basic.cache.properties.SerializerType
Returns the enum constant of this class with the specified name.
valueOps - Variable in class top.tangyh.basic.cache.redis.BaseRedis
 
values() - Static method in enum class top.tangyh.basic.cache.properties.CacheType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class top.tangyh.basic.cache.properties.SerializerType
Returns an array containing the constants of this enum class, in the order they are declared.

Z

zAdd(String, Object, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个 member 元素及其 score 值加入到有序集 key 当中。
zAdd(String, Map<Object, Double>) - Method in class top.tangyh.basic.cache.redis.BaseRedis
将一个或多个 member 元素及其 score 值加入到有序集 key 当中。
zCard(String) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 的基数。
zCount(String, double, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中, score 值在 min 和 max 之间(默认包括 score 值等于 min 或 max )的成员的数量。
zIncrBy(String, Object, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
为有序集 key 的成员 member 的 score 值加上增量 increment 。
zRange(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中,指定区间内的成员。
zRangeByScore(String, double, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中,所有 score 值介于 min 和 max 之间(包括等于 min 或 max )的成员。
zRangeByScoreWithScores(String, double, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中,所有 score 值介于 min 和 max 之间(包括等于 min 或 max )的成员。
zRangeWithScores(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中,指定区间内的成员。
zRank(String, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中成员 member 的排名。
zRem(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除有序集 key 中,指定排名(rank)区间内的所有成员。
zRem(String, Object...) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除有序集 key 中的一个或多个成员,不存在的成员将被忽略。
zRemRangeByScore(String, double, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
移除有序集 key 中,所有 score 值介于 min 和 max 之间(包括等于 min 或 max )的成员。
zReverseRange(String, double, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中, score 值介于 max 和 min 之间(默认包括等于 max 或 min )的所有的成员。
zReverseRangeByScoreWithScores(String, double, double) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中, score 值介于 max 和 min 之间(默认包括等于 max 或 min )的所有的成员。
zRevrange(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中,指定区间内的成员。
zRevrangeWithScores(String, long, long) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中,指定区间内的成员。
zRevrank(String, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中成员 member 的排名。
zScore(String, Object) - Method in class top.tangyh.basic.cache.redis.BaseRedis
返回有序集 key 中,成员 member 的 score 值。
zSetOps - Variable in class top.tangyh.basic.cache.redis.BaseRedis
 
A B C D E F G H I J K L M N P R S T U V Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form