jetcache icon indicating copy to clipboard operation
jetcache copied to clipboard

JetCache is a Java cache framework.

Results 222 jetcache issues
Sort by recently updated
recently updated
newest added

null 或者 "" 空字符串会被缓存吗?

https://github.com/alibaba/fastjson/wiki/security_update_20220523

https://github.com/alibaba/jetcache/blob/5700e51b1a0e0f3fab0be20a58647764cae6807c/jetcache-starter/jetcache-autoconfigure/src/main/java/com/alicp/jetcache/autoconfigure/RedisAutoConfiguration.java#L61 在试图将项目改造为AOT时遇到错误,可能与上述字段设置为private有关: ``` E:\work\...\build\generated\runtimeSources\aotMain\com\alicp\jetcache\autoconfigure\ContextBootstrapInitializer.java:18: error: autoConfigureBeans has private access in RedisAutoInit .invoke(beanFactory, (attributes) -> bean.autoConfigureBeans = attributes.get(0)); ^ Note: Some input files use or override a deprecated API. Note: Recompile...

多数据源的情况下,CacheRefresh 默认访问master 数据源, 怎么设置 CacheRefresh 自动刷新访问的数据源?

项目使用了jetcache,想要做一个统一缓存开启关闭开关(通过Apollo配置定义enabledCache,来控制缓存启用禁用)。但是试了@Cached注解的condition属性,使用spel表达式不能调用bean的方法,下面三种写法都报错: 1) condition =“#{employeeConfig.getEnabledCache()}” ;不认识表达式“”{}“” 2) condition =“#employeeConfig.getEnabledCache()” ;employeeConfigFactory 为null 3) condition =“employeeConfig.getEnabledCache()” ;不认识表达式

您好,我看了源码com.alicp.jetcache.anno.method.CacheHandler#invokeWithInvalidateOrUpdate,在对缓存进行失效时是先调用了方法体请求,再失效缓存。后期是否有考虑添加“延时双删”来保持数据库与缓存的数据一致性呢?

使用jetcache做redis缓存,当redis通过哨兵选举主从节点切换次数达到三次的时候就没办法写,可以读,也就是主节点找不到,读可以通过从节点来读,报错的信息是主节点未知,是否是配置有误呢 `Master is currently unknown: [RedisMasterSlaveNode [redisURI=RedisURI [host='xx.xx.xx.xx', port=6379], role=SLAVE], RedisMasterSlaveNo `