MCPcopy Create free account
hub / github.com/diyhi/bbs / clearAllCache

Method clearAllCache

src/main/java/cms/cache/CacheApiManager.java:68–77  ·  view source on GitHub ↗

清空所有缓存

()

Source from the content-addressed store, hash-verified

66 * 清空所有缓存
67 */
68 public void clearAllCache(){
69 //获取所有缓存名称
70 for (String cacheName : jCacheManager.getCacheNames()) {
71 //javax.cache.Cache<Object, Object> jcache = jCacheManager.getCache(cacheName);
72 //缓存名称
73 //this.clearCache(jcache.getName());
74 this.clearCache(cacheName);
75 }
76
77 }
78
79}

Callers

nothing calls this directly

Calls 1

clearCacheMethod · 0.95

Tested by

no test coverage detected