Commit 25e2172b30024a26ad127ef775fbb69e3a684c50
1 parent
746b4eb383
Exists in
master
and in
8 other branches
座机号 替换的问题
Showing 1 changed file with 0 additions and 6 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/CacheHelper.java
View file @
25e2172
| ... | ... | @@ -15,12 +15,6 @@ |
| 15 | 15 | .newBuilder() |
| 16 | 16 | .maximumSize(size) |
| 17 | 17 | .expireAfterAccess(minutes, TimeUnit.MINUTES) |
| 18 | - .removalListener(new RemovalListener<K, V>() { | |
| 19 | - @Override | |
| 20 | - public void onRemoval(RemovalNotification<K, V> rn) { | |
| 21 | - System.out.println(rn.getKey() + "被移除"); | |
| 22 | - } | |
| 23 | - }) | |
| 24 | 18 | .build(cacheLoader); |
| 25 | 19 | return cache; |
| 26 | 20 | } |