清空所有缓存
()
| 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 | } |
nothing calls this directly
no test coverage detected