mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-28 20:21:32 +00:00
perf[orm]: concurrent collection check
This commit is contained in:
@@ -553,7 +553,7 @@ public class OrmManager implements IOrmManager {
|
||||
}
|
||||
|
||||
if (hasUnsafeCollection) {
|
||||
logger.warn("class[{}] field:[{}] is not concurrent collection, using CopyOnWriteArrayList or ConcurrentHashmap instead", clazz.getSimpleName(), field.getName());
|
||||
logger.warn("class[{}] field:[{}] is not concurrent collection, use concurrent collection instead or not use @EntityCache annotation", clazz.getSimpleName(), field.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user