perf[orm]: updates entity are not verified for consistency

This commit is contained in:
godotg
2024-01-25 16:35:12 +08:00
parent cf569d8dc5
commit f0a4a8e994
@@ -29,6 +29,8 @@ public interface IEntityCache<PK extends Comparable<PK>, E extends IEntity<PK>>
/**
* 更新缓存中的数据,只更新缓存的时间戳,并通过一定策略写入到数据库
* <p>
* 第一次update()会记录线程号表面当前哪个线程在更新这个entity,后面如果发现update()线程号和第一次不一致会给出线程安全的警告
*/
void update(E entity);