索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- append(String, String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
如果键 key 已经存在并且它的值是一个字符串, APPEND 命令将把 value 追加到键 key 现有值的末尾。
- asList() - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
- asLong() - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
- asLong(long) - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
- asString() - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
B
- BaseRedis - top.tangyh.basic.cache.redis中的类
-
公共的redis方法
- BaseRedis(RedisTemplate<String, Object>, StringRedisTemplate, boolean) - 类的构造器 top.tangyh.basic.cache.redis.BaseRedis
- BATCH_SIZE - 类中的静态变量 top.tangyh.basic.cache.redis.BaseRedis
- BytesWrapper<T> - top.tangyh.basic.cache.utils中的类
- BytesWrapper() - 类的构造器 top.tangyh.basic.cache.utils.BytesWrapper
- BytesWrapper(T) - 类的构造器 top.tangyh.basic.cache.utils.BytesWrapper
C
- Cache() - 类的构造器 top.tangyh.basic.cache.properties.CustomCacheProperties.Cache
- CACHE_KEY_NOT_NULL - 类中的静态变量 top.tangyh.basic.cache.redis.BaseRedis
- CacheAutoConfigure - top.tangyh.basic.cache中的类
-
缓存配置
- CacheAutoConfigure() - 类的构造器 top.tangyh.basic.cache.CacheAutoConfigure
- cacheManager(RedisConnectionFactory) - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
-
用于 @Cacheable 相关注解
- cacheOps() - 类中的方法 top.tangyh.basic.cache.CaffeineAutoConfigure
-
caffeine 持久库
- cacheOps(RedisOps) - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
-
redis 持久库
- CacheOps - top.tangyh.basic.cache.repository中的接口
-
缓存操作公共接口
- cachePlusOps() - 类中的方法 top.tangyh.basic.cache.CaffeineAutoConfigure
-
caffeine 增强持久库 仅用于避免报错, 正式环境请勿使用
- cachePlusOps(RedisOps) - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
-
redis 增强持久库
- CachePlusOps - top.tangyh.basic.cache.repository中的接口
-
缓存增强
- CacheResult<T> - top.tangyh.basic.cache.redis2中的类
-
缓存返回对象
- CacheResult(String) - 类的构造器 top.tangyh.basic.cache.redis2.CacheResult
- CacheResult(String, Duration, T) - 类的构造器 top.tangyh.basic.cache.redis2.CacheResult
- CacheResult(String, T) - 类的构造器 top.tangyh.basic.cache.redis2.CacheResult
- CacheResult(CacheHashKey, T) - 类的构造器 top.tangyh.basic.cache.redis2.CacheResult
- CacheResult(CacheKey) - 类的构造器 top.tangyh.basic.cache.redis2.CacheResult
- CacheResult(CacheKey, T) - 类的构造器 top.tangyh.basic.cache.redis2.CacheResult
- CacheType - top.tangyh.basic.cache.properties中的Enum Class
-
缓存类型
- CAFFEINE - enum class 中的枚举常量 top.tangyh.basic.cache.properties.CacheType
-
内存
- CaffeineAutoConfigure - top.tangyh.basic.cache中的类
-
内存缓存配置
- CaffeineAutoConfigure() - 类的构造器 top.tangyh.basic.cache.CaffeineAutoConfigure
- caffeineCacheManager() - 类中的方法 top.tangyh.basic.cache.CaffeineAutoConfigure
- caffeineDistributedLock() - 类中的方法 top.tangyh.basic.cache.CaffeineAutoConfigure
-
为了解决演示环境启动报错而加的类
- CaffeineDistributedLock - top.tangyh.basic.cache.lock中的类
-
分布式锁 只能用redis实现 写这个类的目的,只是为了防止代码启动报错
- CaffeineDistributedLock() - 类的构造器 top.tangyh.basic.cache.lock.CaffeineDistributedLock
- CaffeineOpsImpl - top.tangyh.basic.cache.repository.impl中的类
-
基于 Caffeine 实现的内存缓存, 主要用于开发、测试、演示环境 生产环境慎用!
- CaffeineOpsImpl() - 类的构造器 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- clone() - 类中的方法 top.tangyh.basic.cache.utils.BytesWrapper
- CustomCacheProperties - top.tangyh.basic.cache.properties中的类
-
缓存配置
- CustomCacheProperties() - 类的构造器 top.tangyh.basic.cache.properties.CustomCacheProperties
- CustomCacheProperties.Cache - top.tangyh.basic.cache.properties中的类
D
- decr(CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为键 key 储存的数字值减去一。
- decr(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
为键 key 储存的数字值减去一。
- decr(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- decr(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- decrBy(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将 key 所储存的值减去减量 decrement 。
- decrBy(CacheKey, long) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
将 key 所储存的值减去减量 decrement 。
- decrBy(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- decrBy(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- defaultCacheNullVal - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
-
全局配置是否缓存null值
- del(String...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
- del(String...) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
删除指定的key
- del(String...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- del(String...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- del(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
- del(Collection<CacheKey>) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
删除指定的key
- del(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- del(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- del(List<String>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
- del(CacheKey...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
- del(CacheKey...) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
删除指定的key
- del(CacheKey...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- del(CacheKey...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- deserialize(byte[]) - 类中的方法 top.tangyh.basic.cache.utils.ProtoStuffSerializer
- DistributedLock - top.tangyh.basic.cache.lock中的接口
-
分布式锁顶级接口 例如: RETRY_TIMES=100,SLEEP_MILLIS=100 RETRY_TIMES * SLEEP_MILLIS = 10000 意味着如果一直获取不了锁,最长会等待10秒后抛超时异常
E
- eq(CacheType) - enum class中的方法 top.tangyh.basic.cache.properties.CacheType
- exists(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
检查给定 key 是否存在。
- exists(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
判断指定的key 是否存在
- exists(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- exists(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- expire(String, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为给定 key 设置生存时间,当 key 过期时(生存时间为 0 ),它会被自动删除。
- expire(String, Duration) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为给定 key 设置生存时间,当 key 过期时(生存时间为 0 ),它会被自动删除。
- expire(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
为给定 key 设置生存时间,当 key 过期时(生存时间为 0 ),它会被自动删除。
- expire(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- expire(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- expireAt(String, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
EXPIREAT 的作用和 EXPIRE 类似,都用于为 key 设置生存时间。
- expireAt(String, Date) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
EXPIREAT 的作用和 EXPIRE 类似,都用于为 key 设置生存时间。
F
- find(Collection<CacheKey>) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
根据keys获取对象
- find(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- find(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- flushDb() - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
清空所有存储的数据
- flushDb() - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- flushDb() - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
-
清空redis存储的数据
G
- get(String, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回与键 key 相关联的 value 值
- get(String, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
根据key获取对象
- get(String, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- get(String, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- get(String, Function<String, T>, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回与键 key 相关联的 value 值
- get(CacheKey, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回与键 key 相关联的 value 值
- get(CacheKey, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
根据key获取对象
- get(CacheKey, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- get(CacheKey, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回与键 key 相关联的 value 值
- get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
根据key获取对象 不存在时,调用function回调获取数据,并set进入,然后返回
- get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- get(CacheKey, Function<CacheKey, ? extends T>, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- getCounter(CacheKey, Long...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
获取key中存放的Long值
- getCounter(CacheKey, Function<CacheKey, Long>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
获取key中存放的Long值
- getCounter(CacheKey, Function<CacheKey, Long>) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
获取key中存放的Long值
- getCounter(CacheKey, Function<CacheKey, Long>) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- getCounter(CacheKey, Function<CacheKey, Long>) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- getRange(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回键 key 储存的字符串值的指定部分, 字符串的截取范围由 start 和 end 两个偏移量决定 (包括 start 和 end 在内)。
- getRedisOps(RedisTemplate<String, Object>, StringRedisTemplate) - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
- getRedisTemplate() - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
-
获取 RedisTemplate对象
- getSet(String, Object) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
将键 key 的值设为 value , 并返回键 key 在被设置之前的旧值。
- getValue() - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
-
缓存对象
- getValue() - 类中的方法 top.tangyh.basic.cache.utils.BytesWrapper
H
- hashOps - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
- hDel(String, Object...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
删除哈希表 key 中的一个或多个指定域,不存在的域将被忽略。
- hDel(String, Object...) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
删除哈希表 key 中的一个或多个指定域,不存在的域将被忽略。
- hDel(String, Object...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hDel(String, Object...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hDel(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
- hDel(CacheHashKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
删除哈希表 key 中的指定域,不存在的域将被忽略。
- hDel(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hDel(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hExists(String, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
检查给定域 field 是否存在于哈希表 hash 当中
- hExists(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
检查给定域 field 是否存在于哈希表 hash 当中
- hExists(CacheHashKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
检查给定域 field 是否存在于哈希表 hash 当中
- hExists(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hExists(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hGet(String, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中给定域 field 的值。
- hGet(String, Object, BiFunction<String, Object, T>, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中给定域 field 的值。
- hGet(CacheHashKey, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中给定域 field 的值。
- hGet(CacheHashKey, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回哈希表 key 中给定域 field 的值。
- hGet(CacheHashKey, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hGet(CacheHashKey, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中给定域 field 的值。
- hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回哈希表 key 中给定域 field 的值。
- hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hGet(CacheHashKey, Function<CacheHashKey, T>, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hGetAll(String) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中,所有的域和值。
- hGetAll(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
- hGetAll(CacheHashKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回哈希表 key 中,所有的域和值。
- hGetAll(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hGetAll(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中给定域 field 的值。
- hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回哈希表 key 中,所有的域和值。
- hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hGetAll(CacheHashKey, Function<CacheHashKey, Map<K, V>>, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hIncrBy(CacheHashKey, double) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
为哈希表 key 中的域 field 的值加上增量 increment 。
- hIncrBy(CacheHashKey, double) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hIncrBy(CacheHashKey, double) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hIncrBy(CacheHashKey, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为哈希表 key 中的域 field 的值加上增量 increment 。
- hIncrBy(CacheHashKey, long) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
为哈希表 key 中的域 field 的值加上增量 increment 。
- hIncrBy(CacheHashKey, long) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hIncrBy(CacheHashKey, long) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hIncrByFloat(CacheHashKey, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为哈希表 key 中的域 field 加上浮点数增量 increment 。
- hKeys(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回哈希表 key 中的所有域。
- hKeys(CacheHashKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回哈希表 key 中的所有域。
- hKeys(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hKeys(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hLen(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回哈希表 key 中域的数量。
- hLen(CacheHashKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回哈希表 key 中域的数量。
- hLen(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hLen(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hmGet(String, Object...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中,一个或多个给定域的值。
- hmGet(String, List<Object>) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中,一个或多个给定域的值。
- hmSet(String, Map<K, V>, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
同时将多个 field-value (域-值)对设置到哈希表 key 中。
- hSet(String, Object, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将哈希表 key 中的域 field 的值设为 value 。
- hSet(CacheHashKey, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将哈希表 key 中的域 field 的值设为 value 。
- hSet(CacheHashKey, Object, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
将哈希表 key 中的域 field 的值设为 value 。
- hSet(CacheHashKey, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hSet(CacheHashKey, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- hStrLen(String, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回哈希表 key 中, 与给定域 field 相关联的值的字符串长度
- hVals(String) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回哈希表 key 中所有域的值。
- hVals(CacheHashKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回哈希表 key 中所有域的值。
- hVals(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- hVals(CacheHashKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
I
- incr(CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为键 key 储存的数字值加上一。
- incr(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
为键 key 储存的数字值加上一。
- incr(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- incr(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- incrBy(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为键 key 储存的数字值加上增量 increment 。
- incrBy(CacheKey, long) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
为键 key 储存的数字值加上increment。
- incrBy(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- incrBy(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- incrByFloat(CacheKey, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为键 key 储存的值加上浮点数增量 increment 。
- incrByFloat(CacheKey, double) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
为键 key 储存的数字值加上一。
- incrByFloat(CacheKey, double) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- incrByFloat(CacheKey, double) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- isNull() - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
-
是否没有缓存
- isNullVal() - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
-
是否缓存的空值
- isNullVal(T) - 类中的静态方法 top.tangyh.basic.cache.redis.BaseRedis
-
判断缓存值是否为空对象
J
- JACK_SON - enum class 中的枚举常量 top.tangyh.basic.cache.properties.SerializerType
-
json 序列化
- JDK - enum class 中的枚举常量 top.tangyh.basic.cache.properties.SerializerType
-
jdk 序列化
K
- KEY_LOCKS - 类中的静态变量 top.tangyh.basic.cache.redis.BaseRedis
- KEY_NOT_NULL - 类中的静态变量 top.tangyh.basic.cache.redis.BaseRedis
- keyGenerator() - 类中的方法 top.tangyh.basic.cache.CacheAutoConfigure
-
key 的生成
- keys(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
查找所有符合给定模式 pattern 的 key 。
- keys(String) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
查找所有符合给定模式 pattern 的 key 。
- keys(String) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
-
KEYS * 匹配数据库中所有 key 。
- keys(String) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
L
- lIndex(String, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回列表 key 中,下标为 index 的元素。
- lInsert(String, Object, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将值 value 插入到列表 key 当中,位于值 pivot 之前。
- listOps - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
- lLen(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回列表 key 的长度。
- lock(String) - 接口中的方法 top.tangyh.basic.cache.lock.DistributedLock
-
获取锁
- lock(String, int) - 接口中的方法 top.tangyh.basic.cache.lock.DistributedLock
-
获取锁
- lock(String, int, long) - 接口中的方法 top.tangyh.basic.cache.lock.DistributedLock
-
获取锁
- lock(String, long) - 接口中的方法 top.tangyh.basic.cache.lock.DistributedLock
-
获取锁
- lock(String, long, int) - 接口中的方法 top.tangyh.basic.cache.lock.DistributedLock
-
获取锁
- lock(String, long, int, long) - 类中的方法 top.tangyh.basic.cache.lock.CaffeineDistributedLock
- lock(String, long, int, long) - 接口中的方法 top.tangyh.basic.cache.lock.DistributedLock
-
获取锁
- lock(String, long, int, long) - 类中的方法 top.tangyh.basic.cache.lock.RedisDistributedLock
- lPop(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除并返回列表 key 的头元素
- lPush(String, Object...) - 类中的方法 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>) - 类中的方法 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) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将值 value 插入到列表 key 的表头,当且仅当 key 存在并且是一个列表。
- lRange(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回列表 key 中指定区间内的元素,区间以偏移量 start 和 stop 指定。
- lRem(String, long, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
根据参数 count 的值,移除列表中与参数 value 相等的元素。
- lSet(String, long, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将列表 key 下标为 index 的元素的值设置为 value 。
- lTrim(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
对一个列表进行修剪(trim),就是说,让列表只保留指定区间内的元素,不在指定区间之内的元素都将被删除。
M
- mGet(String...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
- mGet(List<String>) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
- mGet(CacheKey...) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
- mGetByCacheKey(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis2.RedisOps
-
返回所有(一个或多个)给定 key 的值, 值按请求的键的顺序返回。
- move(String, int) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将当前数据库的 key 移动到给定的数据库 db 当中。
- mSet(Map<String, Object>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
同时为一个或多个键设置值。
- mSet(Map<String, Object>, boolean) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
同时为一个或多个键设置值。
- mSetNx(Map<String, Object>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
当且仅当所有给定键都不存在时, 为所有给定键设置值。
- mSetNx(Map<String, Object>, boolean) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
当且仅当所有给定键都不存在时, 为所有给定键设置值。
N
- newNullVal() - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
new 一个空值
- NullVal - top.tangyh.basic.cache.redis中的类
-
空值 解决缓存穿透
- NullVal() - 类的构造器 top.tangyh.basic.cache.redis.NullVal
P
- persist(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除给定 key 的生存时间,将这个 key 从『易失的』(带生存时间 key )转换成『持久的』(一个不带生存时间、永不过期的 key )。
- persist(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
移除给定 key 的生存时间,将这个 key 从『易失的』(带生存时间 key )转换成『持久的』(一个不带生存时间、永不过期的 key )。
- persist(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- persist(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- pExpire(String, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令和 EXPIRE 命令的作用类似,但是它以毫秒为单位设置 key 的生存时间,而不像 EXPIRE 命令那样,以秒为单位。
- PREFIX - 类中的静态变量 top.tangyh.basic.cache.properties.CustomCacheProperties
- ProtoStuff - enum class 中的枚举常量 top.tangyh.basic.cache.properties.SerializerType
-
默认:ProtoStuff 序列化
- ProtoStuffSerializer - top.tangyh.basic.cache.utils中的类
-
ProtoStuff 序列化
- ProtoStuffSerializer() - 类的构造器 top.tangyh.basic.cache.utils.ProtoStuffSerializer
- pTtl(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令类似于 TTL 命令,但它以毫秒为单位返回 key 的剩余生存时间,而不是像 TTL 命令那样,以秒为单位。
- pTtl(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
以毫秒为单位,返回给定 key 的剩余生存时间(TTL, time to live)。
- pTtl(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- pTtl(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
R
- randomKey() - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
从当前数据库中随机返回(不删除)一个 key 。
- REDIS - enum class 中的枚举常量 top.tangyh.basic.cache.properties.CacheType
-
redis
- RedisAutoConfigure - top.tangyh.basic.cache中的类
-
redis 配置类
- RedisAutoConfigure() - 类的构造器 top.tangyh.basic.cache.RedisAutoConfigure
- redisDistributedLock(RedisTemplate<String, Object>) - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
-
分布式锁
- RedisDistributedLock - top.tangyh.basic.cache.lock中的类
-
redis分布式锁实现
- RedisDistributedLock(RedisTemplate<String, Object>) - 类的构造器 top.tangyh.basic.cache.lock.RedisDistributedLock
- RedisObjectSerializer - top.tangyh.basic.cache.utils中的类
-
此时定义的序列化操作表示可以序列化所有类的对象,当然,这个对象所在的类一定要实现序列化接口
- RedisObjectSerializer() - 类的构造器 top.tangyh.basic.cache.utils.RedisObjectSerializer
- RedisOps - top.tangyh.basic.cache.redis2中的类
- RedisOps(RedisTemplate<String, Object>, StringRedisTemplate, boolean) - 类的构造器 top.tangyh.basic.cache.redis2.RedisOps
- RedisOpsImpl - top.tangyh.basic.cache.repository.impl中的类
-
Redis Repository redis 基本操作 可扩展,基本够用了
- RedisOpsImpl(RedisOps) - 类的构造器 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- redisSerializer() - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
- redisTemplate - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
- redisTemplate(RedisConnectionFactory, RedisSerializer<Object>) - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
-
RedisTemplate配置
- releaseLock(String) - 类中的方法 top.tangyh.basic.cache.lock.CaffeineDistributedLock
- releaseLock(String) - 接口中的方法 top.tangyh.basic.cache.lock.DistributedLock
-
释放锁
- releaseLock(String) - 类中的方法 top.tangyh.basic.cache.lock.RedisDistributedLock
- rename(String, String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将 key 改名为 newkey 。
- renameNx(String, String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
当且仅当 newkey 不存在时,将 key 改名为 newkey 。
- RETRY_TIMES - 接口中的静态变量 top.tangyh.basic.cache.lock.DistributedLock
-
重试次数
- rInsert(String, Object, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将值 value 插入到列表 key 当中,位于值 pivot 之后。
- rPop(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除并返回列表 key 的尾元素。
- rPoplPush(String, String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
命令 RPOPLPUSH 在一个原子时间内,执行以下两个动作: 1.将列表 source 中的最后一个元素(尾元素)弹出,并返回给客户端。
- rPush(String, Object...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将一个或多个值 value 插入到列表 key 的表尾(最右边)。
- rPush(String, Collection<Object>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将一个或多个值 value 插入到列表 key 的表尾(最右边)。
- rPushX(String, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将值 value 插入到列表 key 的表尾,当且仅当 key 存在并且是一个列表。
S
- sAdd(CacheKey, Object) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
将一个或多个 member 元素加入到集合 key 当中,已经存在于集合的 member 元素将被忽略。
- sAdd(CacheKey, Object) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- sAdd(CacheKey, Object) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- sAdd(CacheKey, Collection<V>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将一个或多个 member 元素加入到集合 key 当中,已经存在于集合的 member 元素将被忽略。
- sAdd(CacheKey, V...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将一个或多个 member 元素加入到集合 key 当中,已经存在于集合的 member 元素将被忽略。
- scan(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
查找所有符合给定模式 pattern 的 key 。
- scan(String) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
查找所有符合给定模式 pattern 的 key 。
- scan(String) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- scan(String) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- scanUnlink(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
批量扫描后删除 匹配到的key
- scanUnlink(String) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
查找所有符合给定模式 pattern 的 key ,并将其删除
- scanUnlink(String) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- scanUnlink(String) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- sCard(CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回集合 key 的基数(集合中元素的数量)。
- sCard(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回集合 key 的基数(集合中元素的数量)。
- sCard(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- sCard(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- sDiff(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回一个集合的全部成员,该集合是所有给定集合之间的差集。
- sDiff(CacheKey, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回一个集合的全部成员,该集合是所有给定集合之间的差集。
- sDiffStore(Collection<CacheKey>, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回一个集合的全部成员,该集合是所有给定集合之间的差集。
- sDiffStore(CacheKey, CacheKey, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令的作用和 SDIFF key [key …] 类似,但它将结果保存到 destination 集合,而不是简单地返回结果集。
- serialize(Object) - 类中的方法 top.tangyh.basic.cache.utils.ProtoStuffSerializer
- SerializerType - top.tangyh.basic.cache.properties中的Enum Class
-
序列化类型
- set(String, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将字符串值 value 存放到 key 。
- set(CacheKey, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
设置缓存
- set(CacheKey, Object, boolean...) - 接口中的方法 top.tangyh.basic.cache.repository.CacheOps
-
添加到带有 过期时间的 缓存
- set(CacheKey, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- set(CacheKey, Object, boolean...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- setEx(String, Object, long, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将键 key 的值设置为 value , 并将键 key 的生存时间设置为 seconds 秒钟。
- setEx(String, Object, Duration, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将键 key 的值设置为 value , 并将键 key 的生存时间设置为 seconds 秒钟。
- setExpire(CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
- setNx(String, String, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
只在键 key 不存在的情况下, 将键 key 的值设置为 value 。
- setOps - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
- setRange(String, String, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
从偏移量 offset 开始, 用 value 参数覆写(overwrite)键 key 储存的字符串值。
- setValue(T) - 类中的方法 top.tangyh.basic.cache.utils.BytesWrapper
- setXx(String, String, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
如果存在key,则设置key以保存字符串值。
- setXx(String, String, long, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
如果存在key,则设置key以保存字符串值。
- setXx(String, String, Duration, boolean...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
如果存在key,则设置key以保存字符串值。
- sInter(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回一个集合的全部成员,该集合是所有给定集合的交集。
- sInter(CacheKey, Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回一个集合的全部成员,该集合是所有给定集合的交集。
- sInter(CacheKey, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回一个集合的全部成员,该集合是所有给定集合的交集。
- sInterStore(Collection<CacheKey>, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令类似于 SINTER key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
- sInterStore(CacheKey, Collection<CacheKey>, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令类似于 SINTER key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
- sInterStore(CacheKey, CacheKey, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令类似于 SINTER key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
- sIsMember(CacheKey, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
判断 member 元素是否集合 key 的成员。
- SLEEP_MILLIS - 接口中的静态变量 top.tangyh.basic.cache.lock.DistributedLock
-
每次重试后等待的时间 单位:毫秒
- sMembers(CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回集合 key 中的所有成员。
- sMembers(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回集合 key 中的所有成员。
- sMembers(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- sMembers(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- sMove(CacheKey, CacheKey, V) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将 member 元素从 source 集合移动到 destination 集合。
- sPop(CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除并返回集合中的一个随机元素。
- sPop(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
移除并返回集合中的一个随机元素。
- sPop(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- sPop(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- sRandMember(CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回集合中的一个随机元素。
- sRandMember(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回集合中的count个随机元素。
- sRandMembers(CacheKey, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回集合中的count个随机元素。
- sRem(CacheKey, Object...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除集合 key 中的一个或多个 member 元素,不存在的 member 元素会被忽略。
- sRem(CacheKey, Object...) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
移除集合 key 中的一个或多个 member 元素,不存在的 member 元素会被忽略。
- sRem(CacheKey, Object...) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- sRem(CacheKey, Object...) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- stringRedisTemplate - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
- stringRedisTemplate(RedisConnectionFactory) - 类中的方法 top.tangyh.basic.cache.RedisAutoConfigure
- strLen(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回键 key 储存的字符串值的长度
- sUnion(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回多个集合的并集,多个集合由 keys 指定 不存在的 key 被视为空集。
- sUnion(CacheKey, Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回多个集合的并集,多个集合由 keys 指定 不存在的 key 被视为空集。
- sUnion(CacheKey, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回多个集合的并集,多个集合由 keys 指定 不存在的 key 被视为空集。
- sUnionStore(Collection<CacheKey>, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令类似于 SUNION key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
- sUnionStore(CacheKey, CacheKey, CacheKey) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
这个命令类似于 SUNION key [key …] 命令,但它将结果保存到 destination 集合,而不是简单地返回结果集。
T
- TIMEOUT_MILLIS - 接口中的静态变量 top.tangyh.basic.cache.lock.DistributedLock
-
默认超时时间 单位:毫秒
- top.tangyh.basic.cache - 程序包 top.tangyh.basic.cache
- top.tangyh.basic.cache.lock - 程序包 top.tangyh.basic.cache.lock
- top.tangyh.basic.cache.properties - 程序包 top.tangyh.basic.cache.properties
- top.tangyh.basic.cache.redis - 程序包 top.tangyh.basic.cache.redis
- top.tangyh.basic.cache.redis2 - 程序包 top.tangyh.basic.cache.redis2
- top.tangyh.basic.cache.repository - 程序包 top.tangyh.basic.cache.repository
- top.tangyh.basic.cache.repository.impl - 程序包 top.tangyh.basic.cache.repository.impl
- top.tangyh.basic.cache.utils - 程序包 top.tangyh.basic.cache.utils
- toString() - 类中的方法 top.tangyh.basic.cache.redis2.CacheResult
- ttl(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
以秒为单位,返回给定 key 的剩余生存时间(TTL, time to live)。
- ttl(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
以秒为单位,返回给定 key 的剩余生存时间(TTL, time to live)。
- ttl(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- ttl(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
- type(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回 key 所储存的值的类型。
- type(CacheKey) - 接口中的方法 top.tangyh.basic.cache.repository.CachePlusOps
-
返回 key 所储存的值的类型。
- type(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.CaffeineOpsImpl
- type(CacheKey) - 类中的方法 top.tangyh.basic.cache.repository.impl.RedisOpsImpl
U
- unlink(String...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
- unlink(CacheKey...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
- unlinkCacheKeys(Collection<CacheKey>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
- unlinkStrs(List<String>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
异步删除给定的一个 key 或 多个key 不存在的 key 会被忽略。
V
- valueOf(String) - enum class中的静态方法 top.tangyh.basic.cache.properties.CacheType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - enum class中的静态方法 top.tangyh.basic.cache.properties.SerializerType
-
Returns the enum constant of this class with the specified name.
- valueOps - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
- values() - 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() - 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) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将一个或多个 member 元素及其 score 值加入到有序集 key 当中。
- zAdd(String, Map<Object, Double>) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
将一个或多个 member 元素及其 score 值加入到有序集 key 当中。
- zCard(String) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 的基数。
- zCount(String, double, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中, score 值在 min 和 max 之间(默认包括 score 值等于 min 或 max )的成员的数量。
- zIncrBy(String, Object, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
为有序集 key 的成员 member 的 score 值加上增量 increment 。
- zRange(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中,指定区间内的成员。
- zRangeByScore(String, double, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中,所有 score 值介于 min 和 max 之间(包括等于 min 或 max )的成员。
- zRangeByScoreWithScores(String, double, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中,所有 score 值介于 min 和 max 之间(包括等于 min 或 max )的成员。
- zRangeWithScores(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中,指定区间内的成员。
- zRank(String, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中成员 member 的排名。
- zRem(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除有序集 key 中,指定排名(rank)区间内的所有成员。
- zRem(String, Object...) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除有序集 key 中的一个或多个成员,不存在的成员将被忽略。
- zRemRangeByScore(String, double, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
移除有序集 key 中,所有 score 值介于 min 和 max 之间(包括等于 min 或 max )的成员。
- zReverseRange(String, double, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中, score 值介于 max 和 min 之间(默认包括等于 max 或 min )的所有的成员。
- zReverseRangeByScoreWithScores(String, double, double) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中, score 值介于 max 和 min 之间(默认包括等于 max 或 min )的所有的成员。
- zRevrange(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中,指定区间内的成员。
- zRevrangeWithScores(String, long, long) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中,指定区间内的成员。
- zRevrank(String, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中成员 member 的排名。
- zScore(String, Object) - 类中的方法 top.tangyh.basic.cache.redis.BaseRedis
-
返回有序集 key 中,成员 member 的 score 值。
- zSetOps - 类中的变量 top.tangyh.basic.cache.redis.BaseRedis
All Classes and Interfaces|常量字段值|所有程序包|序列化表格