跳过导航链接
C D E G N P R 

C

CACHE_DELIMITER - 接口 中的静态变量cn.stylefeng.roses.kernel.cache.api.constants.CacheConstants
缓存的分割符号
CACHE_EXCEPTION_STEP_CODE - 接口 中的静态变量cn.stylefeng.roses.kernel.cache.api.constants.CacheConstants
缓存模块的异常步进值
CACHE_MODULE_NAME - 接口 中的静态变量cn.stylefeng.roses.kernel.cache.api.constants.CacheConstants
缓存模块的名称
CacheConstants - cn.stylefeng.roses.kernel.cache.api.constants中的接口
缓存模块的常量
CacheOperatorApi<T> - cn.stylefeng.roses.kernel.cache.api中的接口
缓存操作的基础接口,可以实现不同种缓存实现 泛型为cache的值类class类型
calcKey(String) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
计算最终插入缓存的key值 key的组成方式:租户前缀:业务前缀:业务key
cn.stylefeng.roses.kernel.cache.api - 程序包 cn.stylefeng.roses.kernel.cache.api
 
cn.stylefeng.roses.kernel.cache.api.constants - 程序包 cn.stylefeng.roses.kernel.cache.api.constants
 
contains(String) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
判断某个key值是否存在于缓存

D

DEFAULT_CACHE_TIMEOUT - 接口 中的静态变量cn.stylefeng.roses.kernel.cache.api.constants.CacheConstants
默认缓存的过期时间,10分钟
DEFAULT_OBJECT_CACHE_PREFIX - 接口 中的静态变量cn.stylefeng.roses.kernel.cache.api.constants.CacheConstants
默认object对象缓存的缓存前缀
DEFAULT_STRING_CACHE_PREFIX - 接口 中的静态变量cn.stylefeng.roses.kernel.cache.api.constants.CacheConstants
默认String对象缓存的缓存前缀

E

expire(String, Long) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
删除缓存

G

get(String) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
通过缓存key获取缓存
getAllKeys() - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
获得缓存的所有key列表(不带common prefix的)
getAllKeyValues() - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
获取所有的key,value
getAllValues() - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
获得缓存的所有值列表
getCommonKeyPrefix() - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
通用缓存的前缀,用于区分不同业务 如果带了前缀,所有的缓存在添加的时候,key都会带上这个前缀
getFinalPrefix() - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
获取最终的计算前缀 key的组成方式:租户前缀:业务前缀:业务key

N

NONE_EXPIRED_TIME - 接口 中的静态变量cn.stylefeng.roses.kernel.cache.api.constants.CacheConstants
给hutool缓存用的无限过期时间

P

put(String, T) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
添加缓存
put(String, T, Long) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
添加缓存(带过期时间,单位是秒)

R

remove(String...) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
删除缓存
remove(Collection<String>) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
删除缓存
removePrefix(String) - 接口 中的方法cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi
删除缓存key的前缀,返回用户最原始的key
C D E G N P R 
跳过导航链接

Copyright © 2024. All rights reserved.