跳过导航链接
C D E F G I K L O P R S W 

C

Cache() - 类 的构造器com.github.zuihou.cache.properties.CustomCacheProperties.Cache
 
CacheAutoConfigure - com.github.zuihou.cache中的类
缓存配置
CacheAutoConfigure() - 类 的构造器com.github.zuihou.cache.CacheAutoConfigure
 
cacheManager(RedisConnectionFactory) - 类 中的方法com.github.zuihou.cache.RedisAutoConfigure
用于 @Cacheable 相关注解
CacheRepository - com.github.zuihou.cache.repository中的接口
缓存操作公共接口
CaffeineAutoConfigure - com.github.zuihou.cache中的类
内存缓存配置
CaffeineAutoConfigure() - 类 的构造器com.github.zuihou.cache.CaffeineAutoConfigure
 
caffeineCacheManager() - 类 中的方法com.github.zuihou.cache.CaffeineAutoConfigure
 
CaffeineDistributedLock - com.github.zuihou.cache.lock中的类
分布式锁 只能用redis实现 写这个类的目的,只是为了防止代码启动报错
CaffeineDistributedLock() - 类 的构造器com.github.zuihou.cache.lock.CaffeineDistributedLock
 
CaffeineRepositoryImpl - com.github.zuihou.cache.repository中的类
基于 Caffeine 实现的内存缓存, 主要用于开发、测试、演示环境 生产环境慎用!
CaffeineRepositoryImpl() - 类 的构造器com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
com.github.zuihou.cache - 程序包 com.github.zuihou.cache
 
com.github.zuihou.cache.lock - 程序包 com.github.zuihou.cache.lock
 
com.github.zuihou.cache.properties - 程序包 com.github.zuihou.cache.properties
 
com.github.zuihou.cache.repository - 程序包 com.github.zuihou.cache.repository
 
com.github.zuihou.cache.utils - 程序包 com.github.zuihou.cache.utils
 
CustomCacheProperties - com.github.zuihou.cache.properties中的类
主要用来设置通过 @Cacheable 注解标注的方法的缓存策略
CustomCacheProperties() - 类 的构造器com.github.zuihou.cache.properties.CustomCacheProperties
 
CustomCacheProperties.Cache - com.github.zuihou.cache.properties中的类
 

D

dbSize() - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
集合数量
DEF_TIMEOUT_2H - 接口 中的静态变量com.github.zuihou.cache.repository.CacheRepository
2小时
DEF_TIMEOUT_5M - 接口 中的静态变量com.github.zuihou.cache.repository.CacheRepository
5分钟
del(String...) - 接口 中的方法com.github.zuihou.cache.repository.CacheRepository
删除指定的key
del(String...) - 类 中的方法com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
del(String...) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
删除key
delHashValues(String, Object...) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
根据key值删除

E

exists(String) - 接口 中的方法com.github.zuihou.cache.repository.CacheRepository
判断指定的key 是否存在
exists(String) - 类 中的方法com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
exists(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
判断某个主键是否存在

F

flushDb() - 接口 中的方法com.github.zuihou.cache.repository.CacheRepository
清空所有存储的数据
flushDb() - 类 中的方法com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
flushDb(RedisClusterNode) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
清空DB
flushDb() - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
清空redis存储的数据

G

get(String) - 接口 中的方法com.github.zuihou.cache.repository.CacheRepository
根据key获取对象
get(String) - 类 中的方法com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
get(byte[]) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
根据key获取对象
get(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
根据key获取对象
getConnectionFactory() - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
获取链接工厂
getHashValue(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
key只匹配map
getHashValues(String, String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
获取单个field对应的值
getKeysValues(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
根据key获取对象
getList(String, int, int) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 返回列表 key 中指定区间内的元素,区间以偏移量 [start 和 end] 指定。
getOrDef(String, Function<String, ? extends T>) - 接口 中的方法com.github.zuihou.cache.repository.CacheRepository
根据key获取对象 不存在时,调用function回调获取数据,并set进入,然后返回
getOrDef(String, Function<String, ? extends T>) - 类 中的方法com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
getOrDef(String, Function<String, ? extends T>) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
 
getRedisSerializer() - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
获取 RedisSerializer
getRedisTemplate() - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
获取 RedisTemplate对象

I

incr(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
对某个主键对应的值加一,value值必须是全数字的字符串
insert(String, long, Object) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 将值 value 插入到列表 key 当中,位于值 index 之前或之后,默认之后。

K

keyGenerator() - 类 中的方法com.github.zuihou.cache.CacheAutoConfigure
key 的生成
keys(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
查询在以keyPatten的所有 key 注意: 在服务器上执行 keys 命令是非常耗时的, 在使用该方法前,请三思!!!

L

leftPop(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 移除并返回列表 key 的头元素
leftPush(String, Object) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 将一个或多个值 value 插入到列表 key 的表头
leftPushAll(String, List<V>) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 批量存储
length(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 返回列表 key 的长度 ; 如果 key 不存在,则 key 被解释为一个空列表,返回 0 ; 如果 key 不是列表类型,返回一个错误。
lock(String, long, int, long) - 类 中的方法com.github.zuihou.cache.lock.CaffeineDistributedLock
 
lock(String, long, int, long) - 类 中的方法com.github.zuihou.cache.lock.RedisDistributedLock
 

O

opsForHash() - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
Ops for hash hash operations.
opsForList() - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List 引擎

P

putHashValue(String, String, Object) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
对HashMap操作
putHashValues(String, Map<String, Object>) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
批量添加

R

RedisAutoConfigure - com.github.zuihou.cache中的类
redis 配置类
RedisAutoConfigure() - 类 的构造器com.github.zuihou.cache.RedisAutoConfigure
 
RedisDistributedLock() - 类 中的方法com.github.zuihou.cache.CaffeineAutoConfigure
为了解决演示环境启动报错而加的类
RedisDistributedLock - com.github.zuihou.cache.lock中的类
redis分布式锁实现
RedisDistributedLock(RedisTemplate<String, Object>) - 类 的构造器com.github.zuihou.cache.lock.RedisDistributedLock
 
RedisDistributedLock(RedisTemplate<String, Object>) - 类 中的方法com.github.zuihou.cache.RedisAutoConfigure
分布式锁
RedisObjectSerializer - com.github.zuihou.cache.utils中的类
此时定义的序列化操作表示可以序列化所有类的对象,当然,这个对象所在的类一定要实现序列化接口
RedisObjectSerializer() - 类 的构造器com.github.zuihou.cache.utils.RedisObjectSerializer
 
redisRepository() - 类 中的方法com.github.zuihou.cache.CaffeineAutoConfigure
caffeine 持久库
redisRepository(RedisTemplate<String, Object>) - 类 中的方法com.github.zuihou.cache.RedisAutoConfigure
redis 持久库
RedisRepositoryImpl - com.github.zuihou.cache.repository中的类
Redis Repository redis 基本操作 可扩展,基本够用了
RedisRepositoryImpl(RedisTemplate<String, Object>) - 类 的构造器com.github.zuihou.cache.repository.RedisRepositoryImpl
 
redisTemplate(RedisConnectionFactory) - 类 中的方法com.github.zuihou.cache.RedisAutoConfigure
RedisTemplate配置
releaseLock(String) - 类 中的方法com.github.zuihou.cache.lock.CaffeineDistributedLock
 
releaseLock(String) - 类 中的方法com.github.zuihou.cache.lock.RedisDistributedLock
 
remove(String, long, Object) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 根据参数 i 的值,移除列表中与参数 value 相等的元素
rightPop(String) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 移除并返回列表 key 的末尾元素
rightPush(String, Object) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 :将一个或多个值 value 插入到列表 key 的表尾(最右边)。

S

set(String, Object) - 接口 中的方法com.github.zuihou.cache.repository.CacheRepository
添加到缓存
set(String, Object) - 类 中的方法com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
set(String[], Object[]) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
一次性添加数组到 过期时间的 缓存,不用多次连接,节省开销
set(String, Object) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
添加到缓存
set(String, long, Object) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
redis List数据结构 : 将列表 key 下标为 index 的元素的值设置为 value
setExpire(String, Object, long) - 接口 中的方法com.github.zuihou.cache.repository.CacheRepository
添加到带有 过期时间的 缓存
setExpire(String, Object, long) - 类 中的方法com.github.zuihou.cache.repository.CaffeineRepositoryImpl
 
setExpire(byte[], byte[], long) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
添加到带有 过期时间的 缓存
setExpire(String, Object, long) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
添加到带有 过期时间的 缓存
setExpire(String[], Object[], long) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
一次性添加数组到 过期时间的 缓存,不用多次连接,节省开销

W

willExpire(String, long) - 类 中的方法com.github.zuihou.cache.repository.RedisRepositoryImpl
查询在这个时间段内即将过期的key 注意: 在服务器上执行 keys 命令是非常耗时的, 在使用该方法前,请三思!!!
C D E F G I K L O P R S W 
跳过导航链接

Copyright © 2020. All rights reserved.