From 4912642711eae00eda0159d195f58a257793bca0 Mon Sep 17 00:00:00 2001 From: jaysunxiao Date: Sat, 7 Aug 2021 13:23:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=A2=E6=88=90ConcurrentHashMap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orm/src/main/java/com/zfoo/orm/model/cache/EntityCaches.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm/src/main/java/com/zfoo/orm/model/cache/EntityCaches.java b/orm/src/main/java/com/zfoo/orm/model/cache/EntityCaches.java index 0f077f2f..97411d21 100644 --- a/orm/src/main/java/com/zfoo/orm/model/cache/EntityCaches.java +++ b/orm/src/main/java/com/zfoo/orm/model/cache/EntityCaches.java @@ -63,7 +63,7 @@ public class EntityCaches, E extends IEntity> impl .expireAfterAccess(entityDef.getExpireMillisecond(), TimeUnit.MILLISECONDS) .maximumSize(entityDef.getCacheSize()) .initialCapacity(CollectionUtils.comfortableCapacity(entityDef.getCacheSize())) - .recordStats() // 开启统计信息开关,cache.stats()获取统计信息 + //.recordStats() // 开启统计信息开关,cache.stats()获取统计信息 .removalListener(new RemovalListener>() { @Override public void onRemoval(@Nullable PK pk, @Nullable PNode pnode, @NonNull RemovalCause removalCause) {