Docs & Rules

alibaba/jetcacheGitHubLast refreshed Oct 2, 2026

This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works

2 names in these docs no longer match the code.

master15a89c8listed 16h ago

Is this yours? Install to manage it

Once installed, Striff checks every pull request.

12
10
2
1 stale1
1
8
1 stale
8
2
25 docs, listed Oct 2
alibaba/jetcacheOpen repository

Names these docs write that the code no longer has2

Each sentence below names a type the default branch doesn't declare, or declares somewhere else. Edit the doc so it matches the code, or bring the type back.

  • GoneDefaultCacheMonitorManager
    首先创建一个CacheMonitor,每个DefaultCacheMonitor只能用于一个Cache。当DefaultCacheMonitorManager启动以后,会使用slf4j按指定的时间定期输出统计信息到日志中(简版输出格式参见[统计](Stat.md)),DefaultCacheMonitor构造时指定的名字会作为输出时cache的名字。

    The repository once held jetcache-core/src/main/java/com/alicp/jetcache/support/DefaultCacheMonitorManager.java. It doesn't now.

    View on GitHub

  • GoneDefaultCacheMonitorManager
    After ``start`, `DefaultCacheMonitorManager` outputs statistics every `resetTime`` using slf4j (see [Statistics](Stat)).

    The repository once held jetcache-core/src/main/java/com/alicp/jetcache/support/DefaultCacheMonitorManager.java. It doesn't now.

    View on GitHub

alibaba/jetcache — documented rules

12 of 12 rules, printed October 3, 2026.

The sentence in your docs
Read Oct 2
EnableMethodCache, EnableCreateCacheAnnotation (in jetcache-anno)
EnableMethodCache is in jetcache-anno
Holds
Read Oct 2
EnableMethodCache, EnableCreateCacheAnnotation (in jetcache-anno)
EnableCreateCacheAnnotation is in jetcache-anno
Holds
Read Oct 2
> **注意**:JetCache 2.8.x 默认开启了反序列化安全过滤器。如果缓存值包含自定义类(如上面的 OrderDO),需要在创建缓存前配置过滤器允许列表,否则反序列化时会报错: > ``java > DecodeFilter.getDefault().addAllowPatterns("com.yourcompany."); > `` > 详见[配置文档](Config.md)中的"反序列化过滤器配置"章节。
DecodeFilter has a getDefault method
Holds
Read Oct 2
V get(K key)这样的方法虽然用起来方便,但有功能上的缺陷,当get返回null的时候,无法断定是对应的key不存在,还是访问缓存发生了异常,所以JetCache针对部分操作提供了另外一套API,提供了完整的返回值,包括:
Cache has a get method
Holds
Read Oct 2
Return a instance of ``AutoReleaseLock`` if there is no lock on the specified key, or else null.
Cache depends on AutoReleaseLock
Holds
Read Oct 2
CacheGetResult<V> GET(K key);
Cache has a GET method, and Cache depends on CacheGetResult
Holds
Read Oct 2
MultiGetResult<K, V> GET_ALL(Set<? extends K> keys);
Cache has a GET_ALL method, and Cache depends on MultiGetResult
Holds
Read Oct 2
CacheResult PUT(K key, V value); CacheResult PUT(K key, V value, long expireAfterWrite, TimeUnit timeUnit);
Cache has a PUT method, and Cache depends on CacheResult
Holds
Read Oct 2
CacheResult PUT_ALL(Map<? extends K, ? extends V> map); CacheResult PUT_ALL(Map<? extends K, ? extends V> map, long expireAfterWrite, TimeUnit timeUnit);
Cache has a PUT_ALL method, and Cache depends on CacheResult
Holds
Read Oct 2
CacheResult REMOVE(K key);
Cache has a REMOVE method, and Cache depends on CacheResult
Holds
Read Oct 2
CacheResult REMOVE_ALL(Set<? extends K> keys);
Cache has a REMOVE_ALL method, and Cache depends on CacheResult
Holds
Read Oct 2
CacheResult PUT_IF_ABSENT(K key, V value, long expireAfterWrite, TimeUnit timeUnit);
Cache has a PUT_IF_ABSENT method, and Cache depends on CacheResult
Holds
12 rules from 4 docs

See these where the change is. The browser extension puts a pull request's doc findings, and a diagram of what it changed, on the GitHub page itself, so the code and what your docs say about it are side by side.